Searched refs:usb_dev (Results 1 – 9 of 9) sorted by relevance
| /rk3399_rockchip-uboot/arch/mips/mach-au1x00/ |
| H A D | au1x00_usb_ohci.h | 57 struct usb_device *usb_dev; member 112 struct usb_device *usb_dev; member 382 static ed_t * ep_add_ed(struct usb_device * usb_dev, unsigned long pipe); 396 td_alloc (struct usb_device *usb_dev) in td_alloc() argument 403 if (ptd[i].usb_dev == NULL) { in td_alloc() 405 td->usb_dev = usb_dev; in td_alloc() 415 ed->usb_dev = NULL; in ed_free()
|
| H A D | au1x00_usb_ohci.c | 136 td->usb_dev = NULL; in urb_free_priv() 454 static int sohci_get_current_frame_number (struct usb_device *usb_dev) in sohci_get_current_frame_number() argument 569 static ed_t * ep_add_ed (struct usb_device *usb_dev, unsigned long pipe) in ep_add_ed() argument 587 td = td_alloc (usb_dev); in ep_add_ed() 599 | (usb_dev->speed == USB_SPEED_LOW) << 13 in ep_add_ed() 600 | usb_maxpacket (usb_dev, pipe) << 16); in ep_add_ed()
|
| /rk3399_rockchip-uboot/common/ |
| H A D | usb.c | 47 static struct usb_device usb_dev[USB_MAX_DEVICE]; variable 71 memset(&usb_dev[i], 0, sizeof(struct usb_device)); in usb_init() 72 usb_dev[i].devnum = -1; in usb_init() 158 for (i = 0; i < usb_dev[j].maxchild; i++) { in usb_detect_change() 161 if (usb_get_port_status(&usb_dev[j], i + 1, in usb_detect_change() 879 if (usb_dev[index].devnum == -1) in usb_get_dev_index() 882 return &usb_dev[index]; in usb_get_dev_index() 894 usb_dev[dev_index].devnum = dev_index + 1; in usb_alloc_new_device() 895 usb_dev[dev_index].maxchild = 0; in usb_alloc_new_device() 897 usb_dev[dev_index].children[i] = NULL; in usb_alloc_new_device() [all …]
|
| /rk3399_rockchip-uboot/test/dm/ |
| H A D | blk.c | 72 struct udevice *usb_dev, *dev; in dm_test_blk_usb() local 78 ut_assertok(uclass_get_device(UCLASS_MASS_STORAGE, 0, &usb_dev)); in dm_test_blk_usb() 83 ut_asserteq_ptr(usb_dev, dev_get_parent(dev)); in dm_test_blk_usb()
|
| /rk3399_rockchip-uboot/drivers/usb/host/ |
| H 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()
|
| H A D | ohci.h | 67 struct usb_device *usb_dev; member 123 struct usb_device *usb_dev; member
|
| H A D | ohci-hcd.c | 217 static ed_t *ep_add_ed(ohci_dev_t *ohci_dev, struct usb_device *usb_dev, 223 static struct td *td_alloc(ohci_dev_t *ohci_dev, struct usb_device *usb_dev) in td_alloc() argument 231 if (ohci_dev->tds[i].usb_dev == NULL) in td_alloc() 234 td->usb_dev = usb_dev; in td_alloc() 244 ed->usb_dev = NULL; in ed_free() 264 td->usb_dev = NULL; in urb_free_priv() 847 static ed_t *ep_add_ed(ohci_dev_t *ohci_dev, struct usb_device *usb_dev, in ep_add_ed() argument 865 td = td_alloc(ohci_dev, usb_dev); in ep_add_ed() 878 | (usb_dev->speed == USB_SPEED_LOW) << 13 in ep_add_ed() 879 | usb_maxpacket(usb_dev, pipe) << 16); in ep_add_ed()
|
| /rk3399_rockchip-uboot/drivers/usb/eth/ |
| H A D | asix88179.c | 870 struct usb_device *usb_dev; in ax88179_eth_probe() local 878 usb_dev = priv->ueth.pusb_dev; in ax88179_eth_probe() 879 priv->maxpacketsize = usb_dev->epmaxpacketout[AX_ENDPOINT_OUT]; in ax88179_eth_probe()
|
| /rk3399_rockchip-uboot/drivers/usb/gadget/ |
| H A D | ether.c | 2679 struct udevice *usb_dev; in usb_ether_init() local 2682 uclass_first_device(UCLASS_USB_GADGET_GENERIC, &usb_dev); in usb_ether_init() 2683 if (!usb_dev) { in usb_ether_init() 2688 ret = device_bind_driver(usb_dev, "usb_ether", "usb_ether", &dev); in usb_ether_init()
|