/openbmc/u-boot/common/ |
H A D | usb_storage.c | 466 result = usb_control_msg(us->pusb_dev, usb_sndctrlpipe(us->pusb_dev, 0), in usb_stor_BBB_reset() 509 result = usb_control_msg(us->pusb_dev, usb_sndctrlpipe(us->pusb_dev, 0), in usb_stor_CB_reset() 519 usb_clear_halt(us->pusb_dev, usb_rcvbulkpipe(us->pusb_dev, us->ep_in)); in usb_stor_CB_reset() 520 usb_clear_halt(us->pusb_dev, usb_rcvbulkpipe(us->pusb_dev, us->ep_out)); in usb_stor_CB_reset() 635 us->pusb_dev->act_len); in usb_stor_CB_comdat() 698 return usb_control_msg(us->pusb_dev, usb_sndctrlpipe(us->pusb_dev, 0), in usb_stor_BBB_clear_endpt_stall() 722 us->pusb_dev->status); in usb_stor_BBB_transport() 755 us->pusb_dev->status); in usb_stor_BBB_transport() 784 us->pusb_dev->status); in usb_stor_BBB_transport() 891 us->pusb_dev->status); in usb_stor_CB_transport() [all …]
|
H A D | usb_hub.c | 166 dev = hub->pusb_dev; in usb_hub_power_on() 631 hub->pusb_dev = dev; in usb_hub_configure()
|
/openbmc/linux/drivers/usb/storage/ |
H A D | scsiglue.c | 95 struct device *dev = us->pusb_dev->bus->sysdev; in slave_configure() 117 } else if (us->pusb_dev->speed >= USB_SPEED_SUPER) { in slave_configure() 138 if (!hcd_uses_dma(bus_to_hcd(us->pusb_dev->bus)) || in slave_configure() 139 (bus_to_hcd(us->pusb_dev->bus)->localmem_pool != NULL)) in slave_configure() 157 switch (le16_to_cpu(us->pusb_dev->descriptor.idVendor)) { in slave_configure() 549 if (us->pusb_dev->manufacturer) in show_info() 550 string = us->pusb_dev->manufacturer; in show_info() 556 if (us->pusb_dev->product) in show_info() 557 string = us->pusb_dev->product; in show_info() 563 if (us->pusb_dev->serial) in show_info() [all …]
|
H A D | usb.c | 381 usb_mark_last_busy(us->pusb_dev); in usb_stor_control_thread() 443 us->pusb_dev = interface_to_usbdev(intf); in associate_dev() 447 le16_to_cpu(us->pusb_dev->descriptor.idVendor), in associate_dev() 448 le16_to_cpu(us->pusb_dev->descriptor.idProduct), in associate_dev() 591 struct usb_device *dev = us->pusb_dev; in get_device_info() 605 usb_stor_adjust_quirks(us->pusb_dev, &us->fflags); in get_device_info() 758 us->send_ctrl_pipe = usb_sndctrlpipe(us->pusb_dev, 0); in get_pipes() 760 us->send_bulk_pipe = usb_sndbulkpipe(us->pusb_dev, in get_pipes() 762 us->recv_bulk_pipe = usb_rcvbulkpipe(us->pusb_dev, in get_pipes() 765 us->recv_intr_pipe = usb_rcvintpipe(us->pusb_dev, in get_pipes() [all …]
|
H A D | transport.c | 202 usb_fill_control_urb(us->current_urb, us->pusb_dev, pipe, in usb_stor_control_msg() 241 usb_reset_endpoint(us->pusb_dev, endp); in usb_stor_clear_halt() 339 usb_fill_control_urb(us->current_urb, us->pusb_dev, pipe, in usb_stor_ctrl_transfer() 366 maxp = usb_maxpacket(us->pusb_dev, pipe); in usb_stor_intr_transfer() 371 usb_fill_int_urb(us->current_urb, us->pusb_dev, pipe, buf, in usb_stor_intr_transfer() 393 usb_fill_bulk_urb(us->current_urb, us->pusb_dev, pipe, buf, length, in usb_stor_bulk_transfer_buf() 423 result = usb_sg_init(&us->current_sg, us->pusb_dev, pipe, 0, in usb_stor_bulk_transfer_sglist() 1430 if (us->pusb_dev->quirks & USB_QUIRK_RESET) in usb_stor_port_reset() 1433 result = usb_lock_device_for_reset(us->pusb_dev, us->pusb_intf); in usb_stor_port_reset() 1443 result = usb_reset_device(us->pusb_dev); in usb_stor_port_reset() [all …]
|
H A D | sierra_ms.c | 133 udev = us->pusb_dev; in sierra_ms_init() 173 debug_swoc(&us->pusb_dev->dev, swocInfo); in sierra_ms_init()
|
H A D | usb.h | 94 struct usb_device *pusb_dev; /* this usb_device */ member
|
H A D | debug.c | 170 dev_vprintk_emit(LOGLEVEL_DEBUG, &us->pusb_dev->dev, fmt, args); in usb_stor_dbg()
|
H A D | realtek_cr.c | 332 result = usb_bulk_msg(us->pusb_dev, us->recv_bulk_pipe, bcs, in rts51x_bulk_transport_special() 913 pm_runtime_set_autosuspend_delay(&us->pusb_dev->dev, 0); in realtek_cr_autosuspend_setup() 922 usb_enable_autosuspend(us->pusb_dev); in realtek_cr_autosuspend_setup()
|
H A D | onetouch.c | 165 struct usb_device *udev = ss->pusb_dev; in onetouch_connect_input()
|
H A D | sddr09.c | 1415 if (us->pusb_dev->actconfig->desc.bConfigurationValue != 1) { in sddr09_common_init() 1417 us->pusb_dev->actconfig->desc.bConfigurationValue); in sddr09_common_init() 1421 result = usb_reset_configuration(us->pusb_dev); in sddr09_common_init()
|
/openbmc/linux/drivers/misc/cardreader/ |
H A D | rtsx_usb.c | 48 ret = usb_sg_init(&ucr->current_sg, ucr->pusb_dev, pipe, 0, in rtsx_usb_bulk_transfer_sglist() 116 usb_sndbulkpipe(ucr->pusb_dev, EP_BULK_OUT), in rtsx_usb_seq_write_register() 134 usb_sndbulkpipe(ucr->pusb_dev, EP_BULK_OUT), in rtsx_usb_seq_read_register() 140 usb_rcvbulkpipe(ucr->pusb_dev, EP_BULK_IN), in rtsx_usb_seq_read_register() 178 return usb_control_msg(ucr->pusb_dev, in rtsx_usb_ep0_write_register() 201 ret = usb_control_msg(ucr->pusb_dev, in rtsx_usb_ep0_read_register() 240 usb_sndbulkpipe(ucr->pusb_dev, EP_BULK_OUT), in rtsx_usb_send_cmd() 260 usb_rcvbulkpipe(ucr->pusb_dev, EP_BULK_IN), in rtsx_usb_get_rsp() 299 ret = usb_control_msg(ucr->pusb_dev, in rtsx_usb_get_card_status() 300 usb_rcvctrlpipe(ucr->pusb_dev, 0), in rtsx_usb_get_card_status() [all …]
|
/openbmc/u-boot/drivers/usb/eth/ |
H A D | mcs7830.c | 511 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()
|
H A D | asix88179.c | 232 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()
|
H A D | asix.c | 123 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()
|
H A D | usb_ether.c | 85 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()
|
H A D | smsc95xx.c | 535 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()
|
H A D | lan7x.c | 408 err = usb_bulk_msg(ueth->pusb_dev, in lan7x_eth_send() 409 usb_sndbulkpipe(ueth->pusb_dev, ueth->ep_out), in lan7x_eth_send()
|
H A D | r8152.c | 1222 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()
|
/openbmc/u-boot/include/ |
H A D | usb_ether.h | 27 struct usb_device *pusb_dev; /* this usb_device */ member
|
H A D | usb.h | 581 struct usb_device *pusb_dev; member
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/ |
H A D | 0012-arm-corstone1000-fix-unrecognized-filesystem-type.patch | 27 result = usb_bulk_msg(us->pusb_dev, pipein, csw, UMASS_BBB_CSW_SIZE,
|
/openbmc/u-boot/board/theobroma-systems/puma_rk3399/ |
H A D | puma-rk3399.c | 343 struct udevice *dev = hub->pusb_dev->dev; in usb_hub_reset_devices()
|
/openbmc/linux/include/linux/ |
H A D | rtsx_usb.h | 54 struct usb_device *pusb_dev; member
|
/openbmc/linux/drivers/memstick/host/ |
H A D | rtsx_usb_ms.c | 252 pipe = usb_rcvbulkpipe(ucr->pusb_dev, EP_BULK_IN); in ms_transfer_data() 260 pipe = usb_sndbulkpipe(ucr->pusb_dev, EP_BULK_OUT); in ms_transfer_data()
|