Searched refs:hostfd (Results 1 – 2 of 2) sorted by relevance
105 int hostfd; member948 static int usb_host_open(USBHostDevice *s, libusb_device *dev, int hostfd) in usb_host_open() argument975 trace_usb_host_open_hostfd(hostfd); in usb_host_open()977 rc = libusb_wrap_sys_device(ctx, hostfd, &s->dh); in usb_host_open()981 s->hostfd = hostfd; in usb_host_open()1005 if (hostfd && libusb_speed == 0) { in usb_host_open()1013 rc = ioctl(hostfd, USBDEVFS_GET_SPEED, NULL); in usb_host_open()1126 if (s->hostfd != -1) { in usb_host_close()1127 close(s->hostfd); in usb_host_close()1128 s->hostfd = -1; in usb_host_close()[all …]
315 usb_host_open_hostfd(int hostfd) "hostfd %d"