Home
last modified time | relevance | path

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

/u-boot/include/
A Dusb_ether.h28 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 Dusb.h261 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 Dusb_ether.c28 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 Dasix.c627 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 Dmcs7830.c721 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 Dasix88179.c633 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 Dsmsc95xx.c841 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 Dr8152.c1581 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 Dusb.c689 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 Dusb_storage.c86 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 Dusb_hub.c878 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 Dusb_kbd.c441 static int usb_kbd_probe_dev(struct usb_device *dev, unsigned int ifnum) argument
451 iface = &dev->config.if_desc[ifnum];

Completed in 28 milliseconds