Home | History | Annotate | Download | only in init

Lines Matching refs:fw_fd

652 static int load_firmware(int fw_fd, int loading_fd, int data_fd)
658 if(fstat(fw_fd, &st) < 0)
668 nr = read(fw_fd, buf, sizeof(buf));
706 int l, loading_fd, data_fd, fw_fd;
745 fw_fd = open(file1, O_RDONLY);
746 if(fw_fd < 0) {
747 fw_fd = open(file2, O_RDONLY);
748 if (fw_fd < 0) {
749 fw_fd = open(file3, O_RDONLY);
750 if (fw_fd < 0) {
766 if(!load_firmware(fw_fd, loading_fd, data_fd))
771 close(fw_fd);