Home
last modified time | relevance | path

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

/external/libusb/libusb/os/
Dwindows_winusb.c522 const struct libusb_interface_descriptor *if_desc; in windows_assign_endpoints() local
531 if_desc = &conf_desc->interface[iface].altsetting[altsetting]; in windows_assign_endpoints()
534 if (if_desc->bNumEndpoints == 0) { in windows_assign_endpoints()
540 priv->usb_interface[iface].endpoint = malloc(if_desc->bNumEndpoints); in windows_assign_endpoints()
546 priv->usb_interface[iface].nb_endpoints = if_desc->bNumEndpoints; in windows_assign_endpoints()
547 for (i = 0; i < if_desc->bNumEndpoints; i++) { in windows_assign_endpoints()
548 priv->usb_interface[iface].endpoint[i] = if_desc->endpoint[i].bEndpointAddress; in windows_assign_endpoints()