Home
last modified time | relevance | path

Searched refs:us_data (Results 1 – 25 of 27) sorted by relevance

12

/linux-2.4.37.9/drivers/usb/storage/
Dtransport.h145 extern int usb_stor_CBI_transport(Scsi_Cmnd*, struct us_data*);
147 extern int usb_stor_CB_transport(Scsi_Cmnd*, struct us_data*);
148 extern int usb_stor_CB_reset(struct us_data*);
150 extern int usb_stor_Bulk_transport(Scsi_Cmnd*, struct us_data*);
151 extern int usb_stor_Bulk_max_lun(struct us_data*);
152 extern int usb_stor_Bulk_reset(struct us_data*);
155 extern void usb_stor_invoke_transport(Scsi_Cmnd*, struct us_data*);
156 extern int usb_stor_transfer_partial(struct us_data*, char*, int);
157 extern int usb_stor_bulk_msg(struct us_data*, void*, int, unsigned int,
159 extern int usb_stor_control_msg(struct us_data*, unsigned int, u8, u8,
[all …]
Dshuttle_usbat.h57 extern int usbat_read(struct us_data *us, unsigned char access,
59 extern int usbat_write(struct us_data *us, unsigned char access,
61 extern int usbat_read_block(struct us_data *us, unsigned char access,
64 extern int usbat_write_block(struct us_data *us, unsigned char access,
67 extern int usbat_multiple_write(struct us_data *us, unsigned char access,
70 extern int usbat_read_user_io(struct us_data *us, unsigned char *data_flags);
71 extern int usbat_write_user_io(struct us_data *us,
76 extern int hp8200e_transport(Scsi_Cmnd *srb, struct us_data *us);
77 extern int init_8200e(struct us_data *us);
Dusb.h83 struct us_data;
94 int (*initFunction)(struct us_data *);
109 typedef int (*trans_cmnd)(Scsi_Cmnd*, struct us_data*);
110 typedef int (*trans_reset)(struct us_data*);
111 typedef void (*proto_cmnd)(Scsi_Cmnd*, struct us_data*);
115 struct us_data { struct
116 struct us_data *next; /* next device */ argument
187 extern struct us_data *us_list; argument
194 extern void fill_inquiry_response(struct us_data *us,
Dprotocol.h62 extern void usb_stor_ATAPI_command(Scsi_Cmnd*, struct us_data*);
63 extern void usb_stor_qic157_command(Scsi_Cmnd*, struct us_data*);
64 extern void usb_stor_ufi_command(Scsi_Cmnd*, struct us_data*);
65 extern void usb_stor_transparent_scsi_command(Scsi_Cmnd*, struct us_data*);
Dshuttle_usbat.c52 extern int usb_stor_control_msg(struct us_data *us, unsigned int pipe,
55 extern int usb_stor_bulk_msg(struct us_data *us, void *data, int pipe,
83 static int usbat_send_control(struct us_data *us, in usbat_send_control()
125 static int usbat_raw_bulk(struct us_data *us, in usbat_raw_bulk()
192 static int usbat_bulk_transport(struct us_data *us, in usbat_bulk_transport()
232 int usbat_read(struct us_data *us, in usbat_read()
251 int usbat_write(struct us_data *us, in usbat_write()
270 int usbat_set_shuttle_features(struct us_data *us, in usbat_set_shuttle_features()
296 int usbat_read_block(struct us_data *us, in usbat_read_block()
332 int usbat_wait_not_busy(struct us_data *us, int minutes) { in usbat_wait_not_busy()
[all …]
Dinitializers.h45 int usb_stor_euscsi_init(struct us_data *us);
48 int sddr09_init(struct us_data *us);
55 int usb_stor_ucr61s2b_init(struct us_data *us);
Dfreecom.h32 extern int freecom_transport(Scsi_Cmnd *srb, struct us_data *us);
33 extern int usb_stor_freecom_reset(struct us_data *us);
34 extern int freecom_init (struct us_data *us);
Dsddr09.c223 sddr09_send_control(struct us_data *us, in sddr09_send_control()
267 sddr09_send_command(struct us_data *us, in sddr09_send_command()
287 sddr09_send_scsi_command(struct us_data *us, in sddr09_send_scsi_command()
294 sddr09_raw_bulk(struct us_data *us, int direction, in sddr09_raw_bulk()
345 sddr09_bulk_transport(struct us_data *us, int direction, in sddr09_bulk_transport()
428 sddr09_test_unit_ready(struct us_data *us) {
449 sddr09_request_sense(struct us_data *us, unsigned char *sensebuf, int buflen) {
493 sddr09_readX(struct us_data *us, int x, unsigned long fromaddress, in sddr09_readX()
538 sddr09_read20(struct us_data *us, unsigned long fromaddress, in sddr09_read20()
561 sddr09_read21(struct us_data *us, unsigned long fromaddress, in sddr09_read21()
[all …]
Dscsiglue.c76 struct us_data *us; in detect()
81 us = (struct us_data *)sht->proc_dir; in detect()
114 struct us_data *us = (struct us_data *)psh->hostdata[0]; in release()
147 struct us_data *us = (struct us_data *)srb->host->hostdata[0]; in queuecommand()
177 struct us_data *us = (struct us_data *)srb->host->hostdata[0]; in command_abort()
215 struct us_data *us = (struct us_data *)srb->host->hostdata[0]; in device_reset()
238 struct us_data *us = (struct us_data *)srb->host->hostdata[0]; in bus_reset()
350 struct us_data *us; in proc_info()
Djumpshot.c60 extern int usb_stor_control_msg(struct us_data *us, unsigned int pipe,
63 extern int usb_stor_bulk_msg(struct us_data *us, void *data, int pipe,
112 static int jumpshot_send_control(struct us_data *us, in jumpshot_send_control()
155 struct us_data *us, in jumpshot_raw_bulk()
209 static inline int jumpshot_bulk_read(struct us_data *us, in jumpshot_bulk_read()
221 static inline int jumpshot_bulk_write(struct us_data *us, in jumpshot_bulk_write()
233 static int jumpshot_get_status(struct us_data *us) in jumpshot_get_status()
258 static int jumpshot_read_data(struct us_data *us, in jumpshot_read_data()
373 static int jumpshot_write_data(struct us_data *us, in jumpshot_write_data()
500 static int jumpshot_id_device(struct us_data *us, in jumpshot_id_device()
[all …]
Dtransport.c359 int usb_stor_control_msg(struct us_data *us, unsigned int pipe, in usb_stor_control_msg()
423 int usb_stor_bulk_msg(struct us_data *us, void *data, int pipe, in usb_stor_bulk_msg()
469 int usb_stor_clear_halt(struct us_data *us, int pipe) in usb_stor_clear_halt()
504 int usb_stor_transfer_partial(struct us_data *us, char *buf, int length) in usb_stor_transfer_partial()
565 void usb_stor_transfer(Scsi_Cmnd *srb, struct us_data* us) in usb_stor_transfer()
625 void usb_stor_invoke_transport(Scsi_Cmnd *srb, struct us_data *us) in usb_stor_invoke_transport()
836 struct us_data *us = (struct us_data *)urb->context; in usb_stor_CBI_irq()
881 int usb_stor_CBI_transport(Scsi_Cmnd *srb, struct us_data *us) in usb_stor_CBI_transport()
1005 int usb_stor_CB_transport(Scsi_Cmnd *srb, struct us_data *us) in usb_stor_CB_transport()
1067 int usb_stor_Bulk_max_lun(struct us_data *us) in usb_stor_Bulk_max_lun()
[all …]
Dsddr55.h31 extern int sddr55_transport(Scsi_Cmnd *srb, struct us_data *us);
32 extern int sddr55_reset(struct us_data *us);
Disd200.h28 extern void isd200_ata_command(Scsi_Cmnd *srb, struct us_data *us);
29 extern int isd200_Initialization(struct us_data *us);
Ddatafab.c63 extern int usb_stor_bulk_msg(struct us_data *us, void *data, int pipe,
66 static int datafab_determine_lun(struct us_data *us, struct datafab_info *info);
95 struct us_data *us, in datafab_raw_bulk()
149 static inline int datafab_bulk_read(struct us_data *us, in datafab_bulk_read()
161 static inline int datafab_bulk_write(struct us_data *us, in datafab_bulk_write()
173 static int datafab_read_data(struct us_data *us, in datafab_read_data()
297 static int datafab_write_data(struct us_data *us, in datafab_write_data()
439 static int datafab_determine_lun(struct us_data *us, in datafab_determine_lun()
490 static int datafab_id_device(struct us_data *us, in datafab_id_device()
532 static int datafab_handle_mode_sense(struct us_data *us, in datafab_handle_mode_sense()
[all …]
Disd200.c343 void isd200_build_sense(struct us_data *us, Scsi_Cmnd *srb) in isd200_build_sense()
398 static int isd200_transfer_partial( struct us_data *us, in isd200_transfer_partial()
463 static void isd200_transfer( struct us_data *us, Scsi_Cmnd *srb ) in isd200_transfer()
535 int isd200_Bulk_transport( struct us_data *us, Scsi_Cmnd *srb, in isd200_Bulk_transport()
676 static int isd200_action( struct us_data *us, int action, in isd200_action()
772 int isd200_read_regs( struct us_data *us ) in isd200_read_regs()
800 void isd200_invoke_transport( struct us_data *us, in isd200_invoke_transport()
909 int isd200_write_config( struct us_data *us ) in isd200_write_config()
961 int isd200_read_config( struct us_data *us ) in isd200_read_config()
1015 int isd200_atapi_soft_reset( struct us_data *us ) in isd200_atapi_soft_reset()
[all …]
Dfreecom.c115 static void us_transfer_freecom(Scsi_Cmnd *srb, struct us_data* us, int transfer_amount) in us_transfer_freecom()
173 freecom_ide_write (struct us_data *us, int reg, int value)
212 freecom_ide_read (struct us_data *us, int reg, int *value)
273 freecom_readdata (Scsi_Cmnd *srb, struct us_data *us, in freecom_readdata()
314 freecom_writedata (Scsi_Cmnd *srb, struct us_data *us, in freecom_writedata()
359 int freecom_transport(Scsi_Cmnd *srb, struct us_data *us) in freecom_transport()
597 freecom_init (struct us_data *us) in freecom_init()
646 int usb_stor_freecom_reset(struct us_data *us) in usb_stor_freecom_reset()
Dsddr55.c75 static int sddr55_raw_bulk(struct us_data *us, in sddr55_raw_bulk()
142 static int sddr55_bulk_transport(struct us_data *us, in sddr55_bulk_transport()
213 static int sddr55_status(struct us_data *us) in sddr55_status()
274 static int sddr55_read_data(struct us_data *us, in sddr55_read_data()
416 static int sddr55_write_data(struct us_data *us, in sddr55_write_data()
648 static int sddr55_read_deviceID(struct us_data *us, in sddr55_read_deviceID()
684 int sddr55_reset(struct us_data *us) { in sddr55_reset()
689 static unsigned long sddr55_get_capacity(struct us_data *us) { in sddr55_get_capacity()
773 static int sddr55_read_map(struct us_data *us) { in sddr55_read_map()
906 int sddr55_transport(Scsi_Cmnd *srb, struct us_data *us) in sddr55_transport()
Dusb.c111 struct us_data *us_list;
254 void fill_inquiry_response(struct us_data *us, unsigned char *data, in fill_inquiry_response()
311 struct us_data *us = (struct us_data *)__us; in usb_stor_control_thread()
508 static int usb_stor_allocate_irq(struct us_data *ss) in usb_stor_allocate_irq()
557 struct us_data *ss = NULL; in storage_probe()
759 if ((ss = (struct us_data *)kmalloc(sizeof(struct us_data), in storage_probe()
765 memset(ss, 0, sizeof(struct us_data)); in storage_probe()
1063 struct us_data *ss = ptr; in storage_disconnect()
1131 struct us_data *next; in usb_stor_exit()
Dprotocol.c130 void usb_stor_qic157_command(Scsi_Cmnd *srb, struct us_data *us) in usb_stor_qic157_command()
151 void usb_stor_ATAPI_command(Scsi_Cmnd *srb, struct us_data *us) in usb_stor_ATAPI_command()
229 void usb_stor_ufi_command(Scsi_Cmnd *srb, struct us_data *us) in usb_stor_ufi_command()
329 void usb_stor_transparent_scsi_command(Scsi_Cmnd *srb, struct us_data *us) in usb_stor_transparent_scsi_command()
Dinitializers.c46 int usb_stor_euscsi_init(struct us_data *us) in usb_stor_euscsi_init()
64 int usb_stor_ucr61s2b_init(struct us_data *us) in usb_stor_ucr61s2b_init()
Ddpcm.h32 extern int dpcm_transport(Scsi_Cmnd *srb, struct us_data *us);
Djumpshot.h27 extern int jumpshot_transport(Scsi_Cmnd *srb, struct us_data *us);
Ddatafab.h27 extern int datafab_transport(Scsi_Cmnd *srb, struct us_data *us);
Dsddr09.h32 extern int sddr09_transport(Scsi_Cmnd *srb, struct us_data *us);
Ddpcm.c44 int dpcm_transport(Scsi_Cmnd *srb, struct us_data *us) in dpcm_transport()

12