Home
last modified time | relevance | path

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

/external/u-boot/common/
Dusb.c320 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() local
422 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 …]
Dusb_kbd.c154 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];
Dusb_hub.c887 iface = &dev->config.if_desc[ifnum]; in usb_hub_check()
Dusb_storage.c1303 iface = &dev->config.if_desc[ifnum]; in usb_storage_probe()
/external/u-boot/cmd/
Dusb.c156 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),
/external/u-boot/drivers/usb/eth/
Dusb_ether.c28 iface = &udev->config.if_desc[ifnum]; in usb_ether_register()
29 iface_desc = &udev->config.if_desc[ifnum].desc; in usb_ether_register()
Dasix.c633 iface = &dev->config.if_desc[ifnum]; in asix_eth_probe()
634 iface_desc = &dev->config.if_desc[ifnum].desc; in asix_eth_probe()
Dasix88179.c641 iface = &dev->config.if_desc[ifnum]; in ax88179_eth_probe()
642 iface_desc = &dev->config.if_desc[ifnum].desc; in ax88179_eth_probe()
Dsmsc95xx.c846 iface = &dev->config.if_desc[ifnum]; in smsc95xx_eth_probe()
847 iface_desc = &dev->config.if_desc[ifnum].desc; in smsc95xx_eth_probe()
Dmcs7830.c730 iface = &dev->config.if_desc[ifnum]; in mcs7830_eth_probe()
Dr8152.c1360 iface = &dev->config.if_desc[ifnum]; in r8152_eth_probe()
1361 iface_desc = &dev->config.if_desc[ifnum].desc; in r8152_eth_probe()
/external/u-boot/drivers/usb/host/
Dxhci.c518 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()
Dusb-uclass.c594 struct usb_interface_descriptor *iface = &udev->config.if_desc[0].desc; in usb_scan_device()
/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()
/external/u-boot/include/
Dusb.h80 struct usb_interface if_desc[USB_MAXINTERFACES]; member