/u-boot/include/ |
A D | usb_ether.h | 28 unsigned char ifnum; /* interface number */ member 101 int asix_eth_probe(struct usb_device *dev, unsigned int ifnum, 107 int ax88179_eth_probe(struct usb_device *dev, unsigned int ifnum, 113 int mcs7830_eth_probe(struct usb_device *dev, unsigned int ifnum, 119 int smsc95xx_eth_probe(struct usb_device *dev, unsigned int ifnum, 125 int r8152_eth_probe(struct usb_device *dev, unsigned int ifnum,
|
A D | usb.h | 261 int usb_set_protocol(struct usb_device *dev, int ifnum, int protocol); 262 int usb_set_idle(struct usb_device *dev, int ifnum, int duration, 278 int usb_get_report(struct usb_device *dev, int ifnum, unsigned char type, 280 int usb_get_class_descriptor(struct usb_device *dev, int ifnum, 949 int usb_hub_probe(struct usb_device *dev, int ifnum);
|
/u-boot/drivers/usb/eth/ |
A D | usb_ether.c | 28 const int ifnum = 0; /* Always use interface 0 */ in usb_ether_register() local 31 iface = &udev->config.if_desc[ifnum]; in usb_ether_register() 32 iface_desc = &udev->config.if_desc[ifnum].desc; in usb_ether_register() 35 ueth->ifnum = ifnum; in usb_ether_register() 82 ret = usb_set_interface(udev, iface_desc->bInterfaceNumber, ifnum); in usb_ether_register() 144 typedef int (*usb_eth_probe)(struct usb_device *dev, unsigned int ifnum,
|
A D | asix.c | 627 int asix_eth_probe(struct usb_device *dev, unsigned int ifnum, in asix_eth_probe() argument 636 iface = &dev->config.if_desc[ifnum]; in asix_eth_probe() 637 iface_desc = &dev->config.if_desc[ifnum].desc; in asix_eth_probe() 656 ss->ifnum = ifnum; in asix_eth_probe()
|
A D | mcs7830.c | 721 int mcs7830_eth_probe(struct usb_device *dev, unsigned int ifnum, in mcs7830_eth_probe() argument 733 iface = &dev->config.if_desc[ifnum]; in mcs7830_eth_probe() 752 ss->ifnum = ifnum; in mcs7830_eth_probe()
|
A D | asix88179.c | 633 int ax88179_eth_probe(struct usb_device *dev, unsigned int ifnum, in ax88179_eth_probe() argument 643 iface = &dev->config.if_desc[ifnum]; in ax88179_eth_probe() 644 iface_desc = &dev->config.if_desc[ifnum].desc; in ax88179_eth_probe() 663 ss->ifnum = ifnum; in ax88179_eth_probe()
|
A D | smsc95xx.c | 841 int smsc95xx_eth_probe(struct usb_device *dev, unsigned int ifnum, in smsc95xx_eth_probe() argument 849 iface = &dev->config.if_desc[ifnum]; in smsc95xx_eth_probe() 850 iface_desc = &dev->config.if_desc[ifnum].desc; in smsc95xx_eth_probe() 866 ss->ifnum = ifnum; in smsc95xx_eth_probe()
|
A D | r8152.c | 1581 int r8152_eth_probe(struct usb_device *dev, unsigned int ifnum, in r8152_eth_probe() argument 1591 iface = &dev->config.if_desc[ifnum]; in r8152_eth_probe() 1592 iface_desc = &dev->config.if_desc[ifnum].desc; in r8152_eth_probe() 1611 ss->ifnum = ifnum; in r8152_eth_probe()
|
/u-boot/common/ |
A D | usb.c | 689 int usb_set_protocol(struct usb_device *dev, int ifnum, int protocol) in usb_set_protocol() argument 693 protocol, ifnum, NULL, 0, USB_CNTL_TIMEOUT); in usb_set_protocol() 699 int usb_set_idle(struct usb_device *dev, int ifnum, int duration, int report_id) in usb_set_idle() argument 703 (duration << 8) | report_id, ifnum, NULL, 0, USB_CNTL_TIMEOUT); in usb_set_idle() 709 int usb_get_report(struct usb_device *dev, int ifnum, unsigned char type, in usb_get_report() argument 715 (type << 8) + id, ifnum, buf, size, USB_CNTL_TIMEOUT); in usb_get_report() 721 int usb_get_class_descriptor(struct usb_device *dev, int ifnum, in usb_get_class_descriptor() argument 726 (type << 8) + id, ifnum, buf, size, USB_CNTL_TIMEOUT); in usb_get_class_descriptor()
|
A D | usb_storage.c | 86 unsigned char ifnum; /* interface number */ member 116 int usb_storage_probe(struct usb_device *dev, unsigned int ifnum, 182 0, us->ifnum, in usb_get_max_lun() 473 0, us->ifnum, NULL, 0, USB_CNTL_TIMEOUT * 5); in usb_stor_BBB_reset() 516 0, us->ifnum, cmd, sizeof(cmd), in usb_stor_CB_reset() 608 0, us->ifnum, in usb_stor_CB_comdat() 1299 int usb_storage_probe(struct usb_device *dev, unsigned int ifnum, in usb_storage_probe() argument 1308 iface = &dev->config.if_desc[ifnum]; in usb_storage_probe() 1326 ss->ifnum = ifnum; in usb_storage_probe()
|
A D | usb_hub.c | 878 static int usb_hub_check(struct usb_device *dev, int ifnum) in usb_hub_check() argument 883 iface = &dev->config.if_desc[ifnum]; in usb_hub_check() 918 int usb_hub_probe(struct usb_device *dev, int ifnum) in usb_hub_probe() argument 922 ret = usb_hub_check(dev, ifnum); in usb_hub_probe()
|
A D | usb_kbd.c | 441 static int usb_kbd_probe_dev(struct usb_device *dev, unsigned int ifnum) argument 451 iface = &dev->config.if_desc[ifnum];
|