Lines Matching refs:interface
152 struct usb_interface_descriptor* interface; in find_usb_device() local
208 interface = (struct usb_interface_descriptor *)bufptr; in find_usb_device()
218 interface->bInterfaceClass, interface->bInterfaceSubClass, in find_usb_device()
219 interface->bInterfaceProtocol, interface->bNumEndpoints); in find_usb_device()
221 if (interface->bNumEndpoints == 2 && in find_usb_device()
222 is_adb_interface(vid, pid, interface->bInterfaceClass, in find_usb_device()
223 interface->bInterfaceSubClass, interface->bInterfaceProtocol)) { in find_usb_device()
265 if(interface->bInterfaceProtocol == 0x01) { in find_usb_device()
298 interface->bInterfaceNumber, device->iSerialNumber, zero_mask); in find_usb_device()
572 int interface, int serial_index, in register_device() argument
590 D("[ usb located new device %s (%d/%d/%d) ]\n", dev_name, ep_in, ep_out, interface); in register_device()
622 if (ioctl(usb->desc, USBDEVFS_CLAIMINTERFACE, &interface) != 0) { in register_device()