Home
last modified time | relevance | path

Searched refs:intf_desc (Results 1 – 1 of 1) sorted by relevance

/external/libusb/libusb/os/
Dwindows_winusb.c494 const struct libusb_interface_descriptor *intf_desc; in get_interface_by_endpoint() local
500 intf_desc = &intf->altsetting[j]; in get_interface_by_endpoint()
501 for (k = 0; k < intf_desc->bNumEndpoints; k++) { in get_interface_by_endpoint()
502 if (intf_desc->endpoint[k].bEndpointAddress == ep) { in get_interface_by_endpoint()
503 usbi_dbg("found endpoint %02X on interface %d", intf_desc->bInterfaceNumber, i); in get_interface_by_endpoint()
504 return intf_desc->bInterfaceNumber; in get_interface_by_endpoint()