Home | History | Annotate | Download | only in init

Lines Matching refs:fw_fd

455 static int load_firmware(int fw_fd, int loading_fd, int data_fd)
461 if(fstat(fw_fd, &st) < 0)
471 nr = read(fw_fd, buf, sizeof(buf));
504 int l, loading_fd, data_fd, fw_fd;
537 fw_fd = open(file1, O_RDONLY);
538 if(fw_fd < 0) {
539 fw_fd = open(file2, O_RDONLY);
540 if(fw_fd < 0)
544 if(!load_firmware(fw_fd, loading_fd, data_fd))
549 close(fw_fd);