Lines Matching full:loading_fd
663 static int load_firmware(int fw_fd, int loading_fd, int data_fd)
673 write(loading_fd, "1", 1); /* start transfer */
702 write(loading_fd, "0", 1); /* successful end of transfer */
704 write(loading_fd, "-1", 2); /* abort transfer */
717 int l, loading_fd, data_fd, fw_fd;
747 loading_fd = open(loading, O_WRONLY);
748 if(loading_fd < 0)
771 write(loading_fd, "-1", 2);
777 if(!load_firmware(fw_fd, loading_fd, data_fd))
786 close(loading_fd);