Home | History | Annotate | Download | only in init

Lines Matching refs:fw_fd

675 static int load_firmware(int fw_fd, int loading_fd, int data_fd)
681 if(fstat(fw_fd, &st) < 0)
691 nr = read(fw_fd, buf, sizeof(buf));
729 int l, loading_fd, data_fd, fw_fd;
764 fw_fd = open(file1, O_RDONLY);
765 if(fw_fd < 0) {
766 fw_fd = open(file2, O_RDONLY);
767 if (fw_fd < 0) {
782 if(!load_firmware(fw_fd, loading_fd, data_fd))
787 close(fw_fd);