Home
last modified time | relevance | path

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

/external/u-boot/common/
Dusb_storage.c78 struct usb_device *pusb_dev; /* this usb_device */ member
174 len = usb_control_msg(us->pusb_dev, in usb_get_max_lun()
175 usb_rcvctrlpipe(us->pusb_dev, 0), in usb_get_max_lun()
373 max_size = usb_maxpacket(us->pusb_dev, pipe) * 16; in us_one_transfer()
391 result = usb_bulk_msg(us->pusb_dev, pipe, buf, in us_one_transfer()
396 if (us->pusb_dev->status != 0) { in us_one_transfer()
401 display_int_status(us->pusb_dev->status); in us_one_transfer()
403 if (us->pusb_dev->status & USB_ST_STALLED) { in us_one_transfer()
406 stat = us->pusb_dev->status; in us_one_transfer()
407 usb_clear_halt(us->pusb_dev, pipe); in us_one_transfer()
[all …]
Dusb_hub.c167 dev = hub->pusb_dev; in usb_hub_power_on()
624 hub->pusb_dev = dev; in usb_hub_configure()
/external/u-boot/drivers/usb/eth/
Dmcs7830.c511 struct usb_device *udev = ueth->pusb_dev; in mcs7830_send_common()
536 rc = usb_bulk_msg(ueth->pusb_dev, in mcs7830_recv_common()
537 usb_rcvbulkpipe(ueth->pusb_dev, ueth->ep_in), in mcs7830_recv_common()
590 return mcs7830_init_common(dev->pusb_dev); in mcs7830_init()
658 return mcs7830_write_mac_common(ueth->pusb_dev, eth->enetaddr); in mcs7830_write_mac()
750 ss->pusb_dev = dev; in mcs7830_eth_probe()
835 if (mcs7830_basic_reset(ss->pusb_dev, ss->dev_priv)) in mcs7830_eth_get_info()
838 if (mcs7830_read_mac(ss->pusb_dev, eth->enetaddr)) in mcs7830_eth_get_info()
Dasix88179.c232 dev->pusb_dev, in asix_write_cmd()
233 usb_sndctrlpipe(dev->pusb_dev, 0), in asix_write_cmd()
255 dev->pusb_dev, in asix_read_cmd()
256 usb_rcvctrlpipe(dev->pusb_dev, 0), in asix_read_cmd()
494 err = usb_bulk_msg(dev->pusb_dev, in asix_send_common()
495 usb_sndbulkpipe(dev->pusb_dev, dev->ep_out), in asix_send_common()
552 err = usb_bulk_msg(dev->pusb_dev, in asix_recv()
553 usb_rcvbulkpipe(dev->pusb_dev, dev->ep_in), in asix_recv()
662 ss->pusb_dev = dev; in ax88179_eth_probe()
877 usb_dev = priv->ueth.pusb_dev; in ax88179_eth_probe()
Dasix.c123 dev->pusb_dev, in asix_write_cmd()
124 usb_sndctrlpipe(dev->pusb_dev, 0), in asix_write_cmd()
145 dev->pusb_dev, in asix_read_cmd()
146 usb_rcvctrlpipe(dev->pusb_dev, 0), in asix_read_cmd()
482 err = usb_bulk_msg(dev->pusb_dev, in asix_send_common()
483 usb_sndbulkpipe(dev->pusb_dev, dev->ep_out), in asix_send_common()
523 err = usb_bulk_msg(dev->pusb_dev, in asix_recv()
524 usb_rcvbulkpipe(dev->pusb_dev, dev->ep_in), in asix_recv()
654 ss->pusb_dev = dev; in asix_eth_probe()
Dsmsc95xx.c535 if (dev->pusb_dev->speed == USB_SPEED_HIGH) { in smsc95xx_init_common()
699 err = usb_bulk_msg(dev->pusb_dev, in smsc95xx_send_common()
700 usb_sndbulkpipe(dev->pusb_dev, dev->ep_out), in smsc95xx_send_common()
719 struct usb_device *udev = dev->pusb_dev; in smsc95xx_init()
744 err = usb_bulk_msg(dev->pusb_dev, in smsc95xx_recv()
745 usb_rcvbulkpipe(dev->pusb_dev, dev->ep_in), in smsc95xx_recv()
809 struct usb_device *udev = dev->pusb_dev; in smsc95xx_write_hwaddr()
864 ss->pusb_dev = dev; in smsc95xx_eth_probe()
Dusb_ether.c85 ueth->pusb_dev = udev; in usb_ether_register()
102 ret = usb_bulk_msg(ueth->pusb_dev, in usb_ether_receive()
103 usb_rcvbulkpipe(ueth->pusb_dev, ueth->ep_in), in usb_ether_receive()
Dlan7x.c408 err = usb_bulk_msg(ueth->pusb_dev, in lan7x_eth_send()
409 usb_sndbulkpipe(ueth->pusb_dev, ueth->ep_out), in lan7x_eth_send()
Dr8152.c1222 struct usb_device *udev = ueth->pusb_dev; in r8152_send_common()
1279 err = usb_bulk_msg(dev->pusb_dev, in r8152_recv()
1280 usb_rcvbulkpipe(dev->pusb_dev, dev->ep_in), in r8152_recv()
1380 ss->pusb_dev = dev; in r8152_eth_probe()
/external/u-boot/include/
Dusb_ether.h27 struct usb_device *pusb_dev; /* this usb_device */ member
Dusb.h587 struct usb_device *pusb_dev; member
/external/u-boot/board/theobroma-systems/puma_rk3399/
Dpuma-rk3399.c199 struct udevice *dev = hub->pusb_dev->dev; in usb_hub_reset_devices()