Searched refs:if_desc (Results 1 – 15 of 15) sorted by relevance
320 ep = &dev->config.if_desc[if_idx].ep_desc[ep_idx]; in usb_set_maxpacket_ep()359 for (ii = 0; ii < dev->config.if_desc[i].desc.bNumEndpoints; ii++) in usb_set_maxpacket()376 struct usb_interface *if_desc = NULL; in usb_parse_config() local422 if_desc = &dev->config.if_desc[ifno]; in usb_parse_config()424 memcpy(if_desc, head, in usb_parse_config()426 if_desc->no_of_ep = 0; in usb_parse_config()427 if_desc->num_altsetting = 1; in usb_parse_config()429 if_desc->desc.bInterfaceNumber; in usb_parse_config()433 if_desc = &dev->config.if_desc[ifno]; in usb_parse_config()434 if_desc->num_altsetting++; in usb_parse_config()[all …]
154 struct usb_interface *iface = &dev->config.if_desc[0]; in usb_kbd_setled()328 iface = &dev->config.if_desc[0];411 iface = &dev->config.if_desc[ifnum];
887 iface = &dev->config.if_desc[ifnum]; in usb_hub_check()
1303 iface = &dev->config.if_desc[ifnum]; in usb_storage_probe()
156 usb_get_class_desc(dev->config.if_desc[0].desc.bInterfaceClass), in usb_display_desc()173 dev->config.if_desc[0].desc.bInterfaceClass)); in usb_display_desc()254 ifdesc = &config->if_desc[i]; in usb_display_config()407 dev->config.if_desc[0].desc.bInterfaceClass),
28 iface = &udev->config.if_desc[ifnum]; in usb_ether_register()29 iface_desc = &udev->config.if_desc[ifnum].desc; in usb_ether_register()
633 iface = &dev->config.if_desc[ifnum]; in asix_eth_probe()634 iface_desc = &dev->config.if_desc[ifnum].desc; in asix_eth_probe()
641 iface = &dev->config.if_desc[ifnum]; in ax88179_eth_probe()642 iface_desc = &dev->config.if_desc[ifnum].desc; in ax88179_eth_probe()
846 iface = &dev->config.if_desc[ifnum]; in smsc95xx_eth_probe()847 iface_desc = &dev->config.if_desc[ifnum].desc; in smsc95xx_eth_probe()
730 iface = &dev->config.if_desc[ifnum]; in mcs7830_eth_probe()
1360 iface = &dev->config.if_desc[ifnum]; in r8152_eth_probe()1361 iface_desc = &dev->config.if_desc[ifnum].desc; in r8152_eth_probe()
518 num_of_ep = udev->config.if_desc[0].no_of_ep; in xhci_set_configuration()519 ifdesc = &udev->config.if_desc[0]; in xhci_set_configuration()
594 struct usb_interface_descriptor *iface = &udev->config.if_desc[0].desc; in usb_scan_device()
522 const struct libusb_interface_descriptor *if_desc; in windows_assign_endpoints() local531 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()
80 struct usb_interface if_desc[USB_MAXINTERFACES]; member