Searched refs:loading_fd (Results 1 – 1 of 1) sorted by relevance
/system/core/init/ |
D | devices.cpp | 759 static int load_firmware(int fw_fd, int loading_fd, int data_fd) in load_firmware() argument 769 write(loading_fd, "1", 1); /* start transfer */ in load_firmware() 790 write(loading_fd, "0", 1); /* successful end of transfer */ in load_firmware() 792 write(loading_fd, "-1", 2); /* abort transfer */ in load_firmware() 805 int l, loading_fd, data_fd, fw_fd; in process_firmware_event() local 824 loading_fd = open(loading, O_WRONLY|O_CLOEXEC); in process_firmware_event() 825 if(loading_fd < 0) in process_firmware_event() 841 if(!load_firmware(fw_fd, loading_fd, data_fd)) in process_firmware_event() 858 write(loading_fd, "-1", 2); in process_firmware_event() 866 close(loading_fd); in process_firmware_event()
|