Home
last modified time | relevance | path

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

12

/openbmc/u-boot/common/
H A Dusb_storage.c466 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 Dusb_hub.c166 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 Dscsiglue.c95 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 Dusb.c381 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 Dtransport.c202 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 Dsierra_ms.c133 udev = us->pusb_dev; in sierra_ms_init()
173 debug_swoc(&us->pusb_dev->dev, swocInfo); in sierra_ms_init()
H A Dusb.h94 struct usb_device *pusb_dev; /* this usb_device */ member
H A Ddebug.c170 dev_vprintk_emit(LOGLEVEL_DEBUG, &us->pusb_dev->dev, fmt, args); in usb_stor_dbg()
H A Drealtek_cr.c332 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 Donetouch.c165 struct usb_device *udev = ss->pusb_dev; in onetouch_connect_input()
H A Dsddr09.c1415 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 Drtsx_usb.c48 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 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
/openbmc/u-boot/include/
H A Dusb_ether.h27 struct usb_device *pusb_dev; /* this usb_device */ member
H A Dusb.h581 struct usb_device *pusb_dev; member
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/
H A D0012-arm-corstone1000-fix-unrecognized-filesystem-type.patch27 result = usb_bulk_msg(us->pusb_dev, pipein, csw, UMASS_BBB_CSW_SIZE,
/openbmc/u-boot/board/theobroma-systems/puma_rk3399/
H A Dpuma-rk3399.c343 struct udevice *dev = hub->pusb_dev->dev; in usb_hub_reset_devices()
/openbmc/linux/include/linux/
H A Drtsx_usb.h54 struct usb_device *pusb_dev; member
/openbmc/linux/drivers/memstick/host/
H A Drtsx_usb_ms.c252 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()

12