Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/usb/storage/
Dtransport.c385 FILL_CONTROL_URB(us->current_urb, us->pusb_dev, pipe, in usb_stor_control_msg()
435 FILL_BULK_URB(us->current_urb, us->pusb_dev, pipe, data, len, in usb_stor_bulk_msg()
475 usb_sndctrlpipe(us->pusb_dev, 0), in usb_stor_clear_halt()
485 usb_endpoint_running(us->pusb_dev, usb_pipeendpoint(pipe), in usb_stor_clear_halt()
487 usb_settoggle(us->pusb_dev, usb_pipeendpoint(pipe), in usb_stor_clear_halt()
512 pipe = usb_rcvbulkpipe(us->pusb_dev, us->ep_in); in usb_stor_transfer_partial()
514 pipe = usb_sndbulkpipe(us->pusb_dev, us->ep_out); in usb_stor_transfer_partial()
636 usb_excl_lock(us->pusb_dev, 3, 0); in usb_stor_invoke_transport()
640 usb_excl_unlock(us->pusb_dev, 3); in usb_stor_invoke_transport()
760 usb_excl_lock(us->pusb_dev, 3, 0); in usb_stor_invoke_transport()
[all …]
Dinitializers.c52 result = usb_control_msg(us->pusb_dev, usb_sndctrlpipe(us->pusb_dev, 0), in usb_stor_euscsi_init()
91 pipe = usb_sndbulkpipe(us->pusb_dev, us->ep_out); in usb_stor_ucr61s2b_init()
101 pipe = usb_rcvbulkpipe(us->pusb_dev, us->ep_in); in usb_stor_ucr61s2b_init()
Dfreecom.c184 opipe = usb_sndbulkpipe (us->pusb_dev, us->ep_out);
223 opipe = usb_sndbulkpipe (us->pusb_dev, us->ep_out);
224 ipipe = usb_rcvbulkpipe (us->pusb_dev, us->ep_in);
377 opipe = usb_sndbulkpipe (us->pusb_dev, us->ep_out); in freecom_transport()
378 ipipe = usb_rcvbulkpipe (us->pusb_dev, us->ep_in); in freecom_transport()
613 result = usb_control_msg(us->pusb_dev, in freecom_init()
614 usb_rcvctrlpipe(us->pusb_dev, 0), in freecom_init()
626 result = usb_control_msg(us->pusb_dev, in freecom_init()
627 usb_sndctrlpipe(us->pusb_dev, 0), in freecom_init()
635 result = usb_control_msg(us->pusb_dev, in freecom_init()
[all …]
Dshuttle_usbat.c135 pipe = usb_rcvbulkpipe(us->pusb_dev, us->ep_in); in usbat_raw_bulk()
137 pipe = usb_sndbulkpipe(us->pusb_dev, us->ep_out); in usbat_raw_bulk()
240 usb_rcvctrlpipe(us->pusb_dev,0), in usbat_read()
259 usb_sndctrlpipe(us->pusb_dev,0), in usbat_write()
285 usb_sndctrlpipe(us->pusb_dev,0), in usbat_set_shuttle_features()
310 usb_sndctrlpipe(us->pusb_dev,0), in usbat_read_block()
392 usb_sndctrlpipe(us->pusb_dev,0), in usbat_write_block()
464 usb_sndctrlpipe(us->pusb_dev,0), in usbat_rw_block_test()
522 usb_sndbulkpipe(us->pusb_dev, in usbat_rw_block_test()
580 usb_sndctrlpipe(us->pusb_dev,0), in usbat_multiple_write()
[all …]
Dscsiglue.c188 if (!us->pusb_dev) { in command_abort()
222 if (!us->pusb_dev) { in device_reset()
250 if (!us->pusb_dev) { in bus_reset()
260 if (us->pusb_dev->actconfig->bNumInterfaces != 1) { in bus_reset()
277 if (usb_reset_device(us->pusb_dev) < 0) { in bus_reset()
287 for (i = 0; i < us->pusb_dev->actconfig->bNumInterfaces; i++) { in bus_reset()
289 &us->pusb_dev->actconfig->interface[i]; in bus_reset()
307 intf->driver->disconnect(us->pusb_dev, intf->private_data); in bus_reset()
308 id = usb_match_id(us->pusb_dev, intf, intf->driver->id_table); in bus_reset()
309 intf->driver->probe(us->pusb_dev, i, id); in bus_reset()
[all …]
Dusb.c285 data[32] = 0x30 + ((us->pusb_dev->descriptor.bcdDevice>>12) & 0x0F); in fill_inquiry_response()
286 data[33] = 0x30 + ((us->pusb_dev->descriptor.bcdDevice>>8) & 0x0F); in fill_inquiry_response()
287 data[34] = 0x30 + ((us->pusb_dev->descriptor.bcdDevice>>4) & 0x0F); in fill_inquiry_response()
288 data[35] = 0x30 + ((us->pusb_dev->descriptor.bcdDevice) & 0x0F); in fill_inquiry_response()
410 if (!us->pusb_dev) { in usb_stor_control_thread()
524 pipe = usb_rcvintpipe(ss->pusb_dev, ss->ep_int->bEndpointAddress & in usb_stor_allocate_irq()
526 maxp = usb_maxpacket(ss->pusb_dev, pipe, usb_pipeout(pipe)); in usb_stor_allocate_irq()
531 FILL_INT_URB(ss->irq_urb, ss->pusb_dev, pipe, ss->irqbuf, maxp, in usb_stor_allocate_irq()
704 ((ss->pusb_dev) || !GUID_EQUAL(guid, ss->guid))) in storage_probe()
717 ss->pusb_dev = dev; in storage_probe()
[all …]
Djumpshot.c164 pipe = usb_rcvbulkpipe(us->pusb_dev, us->ep_in); in jumpshot_raw_bulk()
166 pipe = usb_sndbulkpipe(us->pusb_dev, us->ep_out); in jumpshot_raw_bulk()
243 usb_rcvctrlpipe(us->pusb_dev, 0), in jumpshot_get_status()
317 usb_sndctrlpipe(us->pusb_dev, 0), in jumpshot_read_data()
458 usb_sndctrlpipe(us->pusb_dev, 0), in jumpshot_write_data()
512 usb_sndctrlpipe(us->pusb_dev, 0), in jumpshot_id_device()
Disd200.c408 pipe = usb_rcvbulkpipe(us->pusb_dev, us->ep_in); in isd200_transfer_partial()
410 pipe = usb_sndbulkpipe(us->pusb_dev, us->ep_out); in isd200_transfer_partial()
562 pipe = usb_sndbulkpipe(us->pusb_dev, us->ep_out); in isd200_Bulk_transport()
600 pipe = usb_rcvbulkpipe(us->pusb_dev, us->ep_in); in isd200_Bulk_transport()
924 usb_sndctrlpipe(us->pusb_dev,0), in isd200_write_config()
941 usb_sndctrlpipe(us->pusb_dev, 0)); in isd200_write_config()
974 usb_rcvctrlpipe(us->pusb_dev,0), in isd200_read_config()
995 usb_sndctrlpipe(us->pusb_dev, 0)); in isd200_read_config()
Dsddr09.c253 result = usb_clear_halt(us->pusb_dev, pipe); in sddr09_send_control()
278 pipe = usb_rcvctrlpipe(us->pusb_dev,0); in sddr09_send_command()
280 pipe = usb_sndctrlpipe(us->pusb_dev,0); in sddr09_send_command()
302 pipe = usb_rcvbulkpipe(us->pusb_dev, us->ep_in); in sddr09_raw_bulk()
304 pipe = usb_sndbulkpipe(us->pusb_dev, us->ep_out); in sddr09_raw_bulk()
313 usb_clear_halt(us->pusb_dev, pipe); in sddr09_raw_bulk()
Dusb.h120 struct usb_device *pusb_dev; /* this usb_device */ member
Dsddr55.c85 pipe = usb_rcvbulkpipe(us->pusb_dev, us->ep_in); in sddr55_raw_bulk()
87 pipe = usb_sndbulkpipe(us->pusb_dev, us->ep_out); in sddr55_raw_bulk()
96 usb_clear_halt(us->pusb_dev, pipe); in sddr55_raw_bulk()
Ddatafab.c104 pipe = usb_rcvbulkpipe(us->pusb_dev, us->ep_in); in datafab_raw_bulk()
106 pipe = usb_sndbulkpipe(us->pusb_dev, us->ep_out); in datafab_raw_bulk()