Home | History | Annotate | Download | only in adb

Lines Matching refs:interface

158             struct usb_interface_descriptor* interface;
208 // loop through all the descriptors and look for the ADB interface
214 interface = (struct usb_interface_descriptor *)bufptr;
218 D("interface descriptor has wrong size\n");
224 interface->bInterfaceClass, interface->bInterfaceSubClass,
225 interface->bInterfaceProtocol, interface->bNumEndpoints);
227 if (interface->bNumEndpoints == 2 &&
228 is_adb_interface(vid, pid, interface->bInterfaceClass,
229 interface->bInterfaceSubClass, interface->bInterfaceProtocol)) {
259 if(interface->bInterfaceProtocol == 0x01) {
292 interface->bInterfaceNumber, device->iSerialNumber, zero_mask);
562 int interface, int serial_index, unsigned zero_mask)
586 dev_name, ep_in, ep_out, interface);
609 n = ioctl(usb->desc, USBDEVFS_CLAIMINTERFACE, &interface);