Searched refs:usb_file (Results 1 – 3 of 3) sorted by relevance
37 with open(usb_file_path, 'w') as usb_file:39 fcntl.ioctl(usb_file, _USBDEVFS_RESET)
100 let usb_file: File = if dev_path.parent() == Some(Path::new("/proc/self/fd")) { in do_usb_attach() localVariable117 file: usb_file, in do_usb_attach()
155 fn handle_attach_device(&self, usb_file: File) -> UsbControlResult { in handle_attach_device()156 let device = match Device::new(usb_file) { in handle_attach_device()