Searched refs:usb_dev (Results 1 – 7 of 7) sorted by relevance
/u-boot/common/ |
A D | usb.c | 49 static struct usb_device usb_dev[USB_MAX_DEVICE]; variable 74 usb_dev[i].devnum = -1; in usb_init() 160 for (i = 0; i < usb_dev[j].maxchild; i++) { in usb_detect_change() 163 if (usb_get_port_status(&usb_dev[j], i + 1, in usb_detect_change() 871 if (usb_dev[index].devnum == -1) in usb_get_dev_index() 874 return &usb_dev[index]; in usb_get_dev_index() 887 usb_dev[dev_index].maxchild = 0; in usb_alloc_new_device() 889 usb_dev[dev_index].children[i] = NULL; in usb_alloc_new_device() 890 usb_dev[dev_index].parent = NULL; in usb_alloc_new_device() 893 *devp = &usb_dev[dev_index - 1]; in usb_alloc_new_device() [all …]
|
/u-boot/test/dm/ |
A D | blk.c | 66 struct udevice *usb_dev, *dev; in dm_test_blk_usb() local 72 ut_assertok(uclass_get_device(UCLASS_MASS_STORAGE, 0, &usb_dev)); in dm_test_blk_usb() 77 ut_asserteq_ptr(usb_dev, dev_get_parent(dev)); in dm_test_blk_usb()
|
/u-boot/drivers/usb/host/ |
A D | ohci.h | 68 struct usb_device *usb_dev; member 124 struct usb_device *usb_dev; member
|
A D | sl811-hcd.c | 45 static int sl811_rh_submit_urb(struct usb_device *usb_dev, unsigned long pipe, 530 static int sl811_rh_submit_urb(struct usb_device *usb_dev, unsigned long pipe, in sl811_rh_submit_urb() argument 710 usb_dev->status = status; in sl811_rh_submit_urb() 711 usb_dev->act_len = len; in sl811_rh_submit_urb()
|
A D | ohci-hcd.c | 219 static ed_t *ep_add_ed(ohci_dev_t *ohci_dev, struct usb_device *usb_dev, 225 static struct td *td_alloc(ohci_dev_t *ohci_dev, struct usb_device *usb_dev) in td_alloc() argument 233 if (ohci_dev->tds[i].usb_dev == NULL) in td_alloc() 236 td->usb_dev = usb_dev; in td_alloc() 246 ed->usb_dev = NULL; in ed_free() 266 td->usb_dev = NULL; in urb_free_priv() 849 static ed_t *ep_add_ed(ohci_dev_t *ohci_dev, struct usb_device *usb_dev, in ep_add_ed() argument 867 td = td_alloc(ohci_dev, usb_dev); in ep_add_ed() 880 | (usb_dev->speed == USB_SPEED_LOW) << 13 in ep_add_ed() 881 | usb_maxpacket(usb_dev, pipe) << 16); in ep_add_ed()
|
/u-boot/drivers/usb/eth/ |
A D | asix88179.c | 871 struct usb_device *usb_dev; in ax88179_eth_probe() local 879 usb_dev = priv->ueth.pusb_dev; in ax88179_eth_probe() 880 priv->maxpacketsize = usb_dev->epmaxpacketout[AX_ENDPOINT_OUT]; in ax88179_eth_probe()
|
/u-boot/drivers/usb/gadget/ |
A D | ether.c | 2679 struct udevice *usb_dev; in usb_ether_init() local 2682 ret = uclass_first_device(UCLASS_USB_GADGET_GENERIC, &usb_dev); in usb_ether_init() 2683 if (!usb_dev || ret) { in usb_ether_init() 2688 ret = device_bind_driver(usb_dev, "usb_ether", "usb_ether", &dev); in usb_ether_init()
|
Completed in 44 milliseconds