Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/usb/storage/
A Dtransport.h62 extern int usb_stor_CB_transport(struct scsi_cmnd *, struct us_data*);
63 extern int usb_stor_CB_reset(struct us_data*);
65 extern int usb_stor_Bulk_transport(struct scsi_cmnd *, struct us_data*);
66 extern int usb_stor_Bulk_max_lun(struct us_data*);
67 extern int usb_stor_Bulk_reset(struct us_data*);
70 extern void usb_stor_stop_transport(struct us_data*);
72 extern int usb_stor_control_msg(struct us_data *us, unsigned int pipe,
75 extern int usb_stor_clear_halt(struct us_data *us, unsigned int pipe);
77 extern int usb_stor_ctrl_transfer(struct us_data *us, unsigned int pipe,
84 extern int usb_stor_bulk_srb(struct us_data* us, unsigned int pipe,
[all …]
A Dusb.h38 struct us_data;
50 int (*initFunction)(struct us_data *);
77 typedef int (*trans_cmnd)(struct scsi_cmnd *, struct us_data*);
78 typedef int (*trans_reset)(struct us_data*);
79 typedef void (*proto_cmnd)(struct scsi_cmnd*, struct us_data*);
87 struct us_data { struct
154 static inline struct Scsi_Host *us_to_host(struct us_data *us) { in us_to_host()
158 return (struct us_data *) host->hostdata; in host_to_us()
162 extern void fill_inquiry_response(struct us_data *us,
186 extern int usb_stor_probe1(struct us_data **pus,
[all …]
A Dshuttle_usbat.c152 static int init_usbat_cd(struct us_data *us);
153 static int init_usbat_flash(struct us_data *us);
222 static int usbat_read(struct us_data *us, in usbat_read()
240 static int usbat_write(struct us_data *us, in usbat_write()
258 static int usbat_bulk_read(struct us_data *us, in usbat_bulk_read()
273 static int usbat_bulk_write(struct us_data *us, in usbat_bulk_write()
314 static int usbat_check_status(struct us_data *us) in usbat_check_status()
443 static int usbat_read_block(struct us_data *us, in usbat_read_block()
475 static int usbat_write_block(struct us_data *us, in usbat_write_block()
1821 static int init_usbat_cd(struct us_data *us) in init_usbat_cd()
[all …]
A Dusb.c171 struct us_data *us = usb_get_intfdata(iface); in usb_stor_suspend()
191 struct us_data *us = usb_get_intfdata(iface); in usb_stor_resume()
205 struct us_data *us = usb_get_intfdata(iface); in usb_stor_reset_resume()
227 struct us_data *us = usb_get_intfdata(iface); in usb_stor_pre_reset()
300 struct us_data *us = (struct us_data *)__us; in usb_stor_control_thread()
731 static int get_pipes(struct us_data *us) in get_pipes()
895 struct us_data *us = container_of(work, struct us_data, in usb_stor_scan_dwork()
936 int usb_stor_probe1(struct us_data **pus, in usb_stor_probe1()
943 struct us_data *us; in usb_stor_probe1()
999 int usb_stor_probe2(struct us_data *us) in usb_stor_probe2()
[all …]
A Ddebug.h33 void usb_stor_show_command(const struct us_data *us, struct scsi_cmnd *srb);
34 void usb_stor_show_sense(const struct us_data *us, unsigned char key,
36 __printf(2, 3) void usb_stor_dbg(const struct us_data *us,
42 static inline void _usb_stor_dbg(const struct us_data *us, in _usb_stor_dbg()
A Dsddr09.c289 sddr09_send_command(struct us_data *us, in sddr09_send_command()
315 sddr09_send_scsi_command(struct us_data *us, in sddr09_send_scsi_command()
327 sddr09_test_unit_ready(struct us_data *us) {
571 sddr09_writeX(struct us_data *us, in sddr09_writeX()
732 sddr09_read_data(struct us_data *us, in sddr09_read_data()
958 sddr09_write_data(struct us_data *us, in sddr09_write_data()
1047 sddr09_read_control(struct us_data *us, in sddr09_read_control()
1124 sddr09_reset(struct us_data *us) {
1197 sddr09_read_map(struct us_data *us) { in sddr09_read_map()
1411 sddr09_common_init(struct us_data *us) { in sddr09_common_init()
[all …]
A Dscsiglue.c64 struct us_data *us = host_to_us(host); in host_info()
70 struct us_data *us = host_to_us(sdev->host); in slave_alloc()
94 struct us_data *us = host_to_us(sdev->host); in slave_configure()
339 struct us_data *us = host_to_us(dev_to_shost(starget->dev.parent)); in target_alloc()
369 struct us_data *us = host_to_us(srb->device->host); in queuecommand_lck()
411 struct us_data *us = host_to_us(srb->device->host); in DEF_SCSI_QCMD()
453 struct us_data *us = host_to_us(srb->device->host); in device_reset()
469 struct us_data *us = host_to_us(srb->device->host); in bus_reset()
483 void usb_stor_report_device_reset(struct us_data *us) in usb_stor_report_device_reset()
500 void usb_stor_report_bus_reset(struct us_data *us) in usb_stor_report_bus_reset()
[all …]
A Dinitializers.h30 int usb_stor_euscsi_init(struct us_data *us);
36 int usb_stor_ucr61s2b_init(struct us_data *us);
39 int usb_stor_huawei_e220_init(struct us_data *us);
A Dene_ub6250.c477 static int ene_sd_init(struct us_data *us);
478 static int ene_ms_init(struct us_data *us);
1071 static void ms_lib_free_writebuf(struct us_data *us) in ms_lib_free_writebuf()
1113 static int ms_lib_alloc_writebuf(struct us_data *us) in ms_lib_alloc_writebuf()
1948 static int ms_card_init(struct us_data *us) in ms_card_init()
2069 static int ene_ms_init(struct us_data *us) in ene_ms_init()
2126 static int ene_sd_init(struct us_data *us) in ene_sd_init()
2190 static int ene_init(struct us_data *us) in ene_init()
2329 struct us_data *us; in ene_ub6250_probe()
2380 struct us_data *us = usb_get_intfdata(iface); in ene_ub6250_resume()
[all …]
A Drealtek_cr.c100 struct us_data *us;
158 static int init_realtek_cr(struct us_data *us);
338 static int rts51x_get_max_lun(struct us_data *us) in rts51x_get_max_lun()
478 static int enable_oscillator(struct us_data *us) in enable_oscillator()
695 static void fw5895_init(struct us_data *us) in fw5895_init()
747 struct us_data *us = chip->us; in rts51x_modi_suspend_timer()
758 struct us_data *us = chip->us; in rts51x_suspend_timer_fn()
947 struct us_data *us = usb_get_intfdata(iface); in realtek_cr_suspend()
961 struct us_data *us = usb_get_intfdata(iface); in realtek_cr_resume()
973 static int init_realtek_cr(struct us_data *us) in init_realtek_cr()
[all …]
A Dprotocol.h28 extern void usb_stor_pad12_command(struct scsi_cmnd*, struct us_data*);
29 extern void usb_stor_ufi_command(struct scsi_cmnd*, struct us_data*);
31 struct us_data*);
A Dtransport.c115 static int usb_stor_msg_common(struct us_data *us, int timeout) in usb_stor_msg_common()
185 int usb_stor_control_msg(struct us_data *us, unsigned int pipe, in usb_stor_control_msg()
227 int usb_stor_clear_halt(struct us_data *us, unsigned int pipe) in usb_stor_clear_halt()
356 static int usb_stor_intr_transfer(struct us_data *us, void *buf, in usb_stor_intr_transfer()
466 int usb_stor_bulk_srb(struct us_data* us, unsigned int pipe, in usb_stor_bulk_srb()
933 void usb_stor_stop_transport(struct us_data *us) in usb_stor_stop_transport()
1075 int usb_stor_Bulk_max_lun(struct us_data *us) in usb_stor_Bulk_max_lun()
1347 static int usb_stor_reset_common(struct us_data *us, in usb_stor_reset_common()
1398 int usb_stor_CB_reset(struct us_data *us) in usb_stor_CB_reset()
1413 int usb_stor_Bulk_reset(struct us_data *us) in usb_stor_Bulk_reset()
[all …]
A Dalauda.c121 static int init_alauda(struct us_data *us);
330 static int alauda_ack_media(struct us_data *us) in alauda_ack_media()
363 static int alauda_reset_media(struct us_data *us) in alauda_reset_media()
379 static int alauda_init_media(struct us_data *us) in alauda_init_media()
454 static int alauda_check_media(struct us_data *us) in alauda_check_media()
491 static int alauda_check_status2(struct us_data *us) in alauda_check_status2()
693 static int alauda_erase_block(struct us_data *us, u16 pba) in alauda_erase_block()
748 static int alauda_read_block(struct us_data *us, u16 pba, in alauda_read_block()
801 static int alauda_write_lba(struct us_data *us, u16 lba, in alauda_write_lba()
1101 static int init_alauda(struct us_data *us) in init_alauda()
[all …]
A Dfreecom.c35 static void pdump(struct us_data *us, void *ibuffer, int length);
110 static int init_freecom(struct us_data *us);
152 freecom_readdata (struct scsi_cmnd *srb, struct us_data *us, in freecom_readdata()
185 freecom_writedata (struct scsi_cmnd *srb, struct us_data *us, in freecom_writedata()
221 static int freecom_transport(struct scsi_cmnd *srb, struct us_data *us) in freecom_transport()
439 static int init_freecom(struct us_data *us) in init_freecom()
480 static int usb_stor_freecom_reset(struct us_data *us) in usb_stor_freecom_reset()
489 static void pdump(struct us_data *us, void *ibuffer, int length) in pdump()
546 struct us_data *us; in freecom_probe()
A Dkarma.c42 static int rio_karma_init(struct us_data *us);
94 static int rio_karma_send_command(char cmd, struct us_data *us) in rio_karma_send_command()
145 static int rio_karma_transport(struct scsi_cmnd *srb, struct us_data *us) in rio_karma_transport()
175 static int rio_karma_init(struct us_data *us) in rio_karma_init()
203 struct us_data *us; in karma_probe()
A Dinitializers.c34 int usb_stor_euscsi_init(struct us_data *us) in usb_stor_euscsi_init()
51 int usb_stor_ucr61s2b_init(struct us_data *us) in usb_stor_ucr61s2b_init()
84 int usb_stor_huawei_e220_init(struct us_data *us) in usb_stor_huawei_e220_init()
A Disd200.c58 static int isd200_Initialization(struct us_data *us);
578 static int isd200_read_regs( struct us_data *us ) in isd200_read_regs()
607 static void isd200_invoke_transport( struct us_data *us, in isd200_invoke_transport()
754 static int isd200_write_config( struct us_data *us ) in isd200_write_config()
797 static int isd200_read_config( struct us_data *us ) in isd200_read_config()
868 static int isd200_srst( struct us_data *us ) in isd200_srst()
1016 static int isd200_manual_enum(struct us_data *us) in isd200_manual_enum()
1105 static int isd200_get_inquiry_data( struct us_data *us ) in isd200_get_inquiry_data()
1454 static int isd200_init_info(struct us_data *us) in isd200_init_info()
1482 static int isd200_Initialization(struct us_data *us) in isd200_Initialization()
[all …]
A Ddatafab.c70 static int datafab_determine_lun(struct us_data *us,
114 datafab_bulk_read(struct us_data *us, unsigned char *data, unsigned int len) { in datafab_bulk_read()
125 datafab_bulk_write(struct us_data *us, unsigned char *data, unsigned int len) { in datafab_bulk_write()
135 static int datafab_read_data(struct us_data *us, in datafab_read_data()
218 static int datafab_write_data(struct us_data *us, in datafab_write_data()
313 static int datafab_determine_lun(struct us_data *us, in datafab_determine_lun()
380 static int datafab_id_device(struct us_data *us, in datafab_id_device()
436 static int datafab_handle_mode_sense(struct us_data *us, in datafab_handle_mode_sense()
547 static int datafab_transport(struct scsi_cmnd *srb, struct us_data *us) in datafab_transport()
725 struct us_data *us; in datafab_probe()
A Dscsiglue.h27 extern void usb_stor_report_device_reset(struct us_data *us);
28 extern void usb_stor_report_bus_reset(struct us_data *us);
A Djumpshot.c105 static inline int jumpshot_bulk_read(struct us_data *us, in jumpshot_bulk_read()
118 static inline int jumpshot_bulk_write(struct us_data *us, in jumpshot_bulk_write()
131 static int jumpshot_get_status(struct us_data *us) in jumpshot_get_status()
153 static int jumpshot_read_data(struct us_data *us, in jumpshot_read_data()
230 static int jumpshot_write_data(struct us_data *us, in jumpshot_write_data()
321 static int jumpshot_id_device(struct us_data *us, in jumpshot_id_device()
366 static int jumpshot_handle_mode_sense(struct us_data *us, in jumpshot_handle_mode_sense()
474 static int jumpshot_transport(struct scsi_cmnd *srb, struct us_data *us) in jumpshot_transport()
651 struct us_data *us; in jumpshot_probe()
A Doption_ms.c29 static int option_rezero(struct us_data *us) in option_rezero()
75 static int option_inquiry(struct us_data *us) in option_inquiry()
125 int option_ms_init(struct us_data *us) in option_ms_init()
A Dprotocol.c45 void usb_stor_pad12_command(struct scsi_cmnd *srb, struct us_data *us) in usb_stor_pad12_command()
61 void usb_stor_ufi_command(struct scsi_cmnd *srb, struct us_data *us) in usb_stor_ufi_command()
105 struct us_data *us) in usb_stor_transparent_scsi_command()
A Dsddr55.c110 sddr55_bulk_transport(struct us_data *us, int direction, in sddr55_bulk_transport()
127 static int sddr55_status(struct us_data *us) in sddr55_status()
187 static int sddr55_read_data(struct us_data *us, in sddr55_read_data()
306 static int sddr55_write_data(struct us_data *us, in sddr55_write_data()
512 static int sddr55_read_deviceID(struct us_data *us, in sddr55_read_deviceID()
549 static int sddr55_reset(struct us_data *us) in sddr55_reset()
555 static unsigned long sddr55_get_capacity(struct us_data *us) { in sddr55_get_capacity()
639 static int sddr55_read_map(struct us_data *us) { in sddr55_read_map()
775 static int sddr55_transport(struct scsi_cmnd *srb, struct us_data *us) in sddr55_transport()
983 struct us_data *us; in sddr55_probe()
A Ddebug.c41 void usb_stor_show_command(const struct us_data *us, struct scsi_cmnd *srb) in usb_stor_show_command()
143 void usb_stor_show_sense(const struct us_data *us, in usb_stor_show_sense()
164 void usb_stor_dbg(const struct us_data *us, const char *fmt, ...) in usb_stor_dbg()
A Donetouch.c33 static int onetouch_connect_input(struct us_data *ss);
142 static void usb_onetouch_pm_hook(struct us_data *us, int action) in usb_onetouch_pm_hook()
163 static int onetouch_connect_input(struct us_data *ss) in onetouch_connect_input()
278 struct us_data *us; in onetouch_probe()

Completed in 53 milliseconds

12