Home
last modified time | relevance | path

Searched refs:usb_dev (Results 1 – 6 of 6) sorted by relevance

/u-boot/common/
A Dusb.c49 static struct usb_device usb_dev[USB_MAX_DEVICE]; variable
70 usb_dev[i].devnum = -1; in usb_init()
156 for (i = 0; i < usb_dev[j].maxchild; i++) { in usb_detect_change()
159 if (usb_get_port_status(&usb_dev[j], i + 1, in usb_detect_change()
867 if (usb_dev[index].devnum == -1) in usb_get_dev_index()
870 return &usb_dev[index]; in usb_get_dev_index()
883 usb_dev[dev_index].maxchild = 0; in usb_alloc_new_device()
885 usb_dev[dev_index].children[i] = NULL; in usb_alloc_new_device()
886 usb_dev[dev_index].parent = NULL; in usb_alloc_new_device()
889 *devp = &usb_dev[dev_index - 1]; in usb_alloc_new_device()
[all …]
/u-boot/test/dm/
A Dblk.c68 struct udevice *usb_dev, *dev; in dm_test_blk_usb() local
77 ut_assertok(uclass_get_device(UCLASS_MASS_STORAGE, 0, &usb_dev)); in dm_test_blk_usb()
82 ut_asserteq_ptr(usb_dev, dev_get_parent(dev)); in dm_test_blk_usb()
/u-boot/drivers/usb/host/
A Dohci.h68 struct usb_device *usb_dev; member
124 struct usb_device *usb_dev; member
A Dohci-hcd.c191 static ed_t *ep_add_ed(ohci_dev_t *ohci_dev, struct usb_device *usb_dev,
197 static struct td *td_alloc(ohci_dev_t *ohci_dev, struct usb_device *usb_dev) in td_alloc() argument
205 if (ohci_dev->tds[i].usb_dev == NULL) in td_alloc()
208 td->usb_dev = usb_dev; in td_alloc()
218 ed->usb_dev = NULL; in ed_free()
238 td->usb_dev = NULL; in urb_free_priv()
821 static ed_t *ep_add_ed(ohci_dev_t *ohci_dev, struct usb_device *usb_dev, in ep_add_ed() argument
839 td = td_alloc(ohci_dev, usb_dev); in ep_add_ed()
852 | (usb_dev->speed == USB_SPEED_LOW) << 13 in ep_add_ed()
853 | usb_maxpacket(usb_dev, pipe) << 16); in ep_add_ed()
/u-boot/drivers/usb/eth/
A Dasix88179.c622 struct usb_device *usb_dev; in ax88179_eth_probe() local
630 usb_dev = priv->ueth.pusb_dev; in ax88179_eth_probe()
631 priv->maxpacketsize = usb_dev->epmaxpacketout[AX_ENDPOINT_OUT]; in ax88179_eth_probe()
/u-boot/drivers/usb/gadget/
A Dether.c2543 struct udevice *usb_dev; in usb_ether_init() local
2546 uclass_first_device(UCLASS_USB_GADGET_GENERIC, &usb_dev); in usb_ether_init()
2547 if (!usb_dev) { in usb_ether_init()
2552 ret = device_bind_driver(usb_dev, "usb_ether", "usb_ether", NULL); in usb_ether_init()

Completed in 34 milliseconds