Lines Matching refs:interface
147 struct usb_interface_descriptor* interface; in find_usb_device() local
202 interface = (struct usb_interface_descriptor *)bufptr; in find_usb_device()
212 interface->bInterfaceClass, interface->bInterfaceSubClass, in find_usb_device()
213 interface->bInterfaceProtocol, interface->bNumEndpoints); in find_usb_device()
215 if (interface->bNumEndpoints == 2 && in find_usb_device()
216 is_adb_interface(interface->bInterfaceClass, interface->bInterfaceSubClass, in find_usb_device()
217 interface->bInterfaceProtocol)) { in find_usb_device()
258 if (interface->bInterfaceProtocol == ADB_PROTOCOL) { in find_usb_device()
290 local_ep_out, interface->bInterfaceNumber, in find_usb_device()
534 unsigned char ep_out, int interface, int serial_index, in register_device() argument
552 D("[ usb located new device %s (%d/%d/%d) ]", dev_name, ep_in, ep_out, interface); in register_device()
578 if (ioctl(usb->fd, USBDEVFS_CLAIMINTERFACE, &interface) != 0) { in register_device()