Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/usb/storage/
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()
542 if (us->pusb_dev->manufacturer) in show_info()
543 string = us->pusb_dev->manufacturer; in show_info()
549 if (us->pusb_dev->product) in show_info()
550 string = us->pusb_dev->product; in show_info()
556 if (us->pusb_dev->serial) in show_info()
[all …]
Dusb.c280 u16 bcdDevice = le16_to_cpu(us->pusb_dev->descriptor.bcdDevice); in fill_inquiry_response()
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()
449 le16_to_cpu(us->pusb_dev->descriptor.bcdDevice)); in associate_dev()
462 us->iobuf = usb_alloc_coherent(us->pusb_dev, US_IOBUF_SIZE, 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()
[all …]
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 …]
Dsierra_ms.c133 udev = us->pusb_dev; in sierra_ms_init()
173 debug_swoc(&us->pusb_dev->dev, swocInfo); in sierra_ms_init()
Dusb.h94 struct usb_device *pusb_dev; /* this usb_device */ member
Ddebug.c170 dev_vprintk_emit(LOGLEVEL_DEBUG, &us->pusb_dev->dev, fmt, args); in usb_stor_dbg()
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()
Donetouch.c165 struct usb_device *udev = ss->pusb_dev; in onetouch_connect_input()
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()
Dalauda.c1120 info->wr_ep = usb_sndbulkpipe(us->pusb_dev, in init_alauda()
Dene_ub6250.c1922 err = request_firmware(&sd_fw, fw_name, &us->pusb_dev->dev); in ene_load_bincode()
/Linux-v6.6/drivers/misc/cardreader/
Drtsx_usb.c48 ret = usb_sg_init(&ucr->current_sg, ucr->pusb_dev, pipe, 0, in rtsx_usb_bulk_transfer_sglist()
79 return usb_bulk_msg(ucr->pusb_dev, pipe, buf, len, act_len, in rtsx_usb_transfer_data()
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()
179 usb_sndctrlpipe(ucr->pusb_dev, 0), RTSX_USB_REQ_REG_OP, in rtsx_usb_ep0_write_register()
201 ret = usb_control_msg(ucr->pusb_dev, in rtsx_usb_ep0_read_register()
202 usb_rcvctrlpipe(ucr->pusb_dev, 0), RTSX_USB_REQ_REG_OP, in rtsx_usb_ep0_read_register()
240 usb_sndbulkpipe(ucr->pusb_dev, EP_BULK_OUT), in rtsx_usb_send_cmd()
[all …]
/Linux-v6.6/include/linux/
Drtsx_usb.h54 struct usb_device *pusb_dev; member
/Linux-v6.6/drivers/memstick/host/
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()
/Linux-v6.6/drivers/mmc/host/
Drtsx_usb_sdmmc.c517 pipe = usb_rcvbulkpipe(ucr->pusb_dev, EP_BULK_IN); in sd_rw_multi()
519 pipe = usb_sndbulkpipe(ucr->pusb_dev, EP_BULK_OUT); in sd_rw_multi()