/linux-6.1.9/drivers/usb/storage/ |
D | usb.c | 171 struct us_data *us = usb_get_intfdata(iface); in usb_stor_suspend() local 191 struct us_data *us = usb_get_intfdata(iface); in usb_stor_resume() local 205 struct us_data *us = usb_get_intfdata(iface); in usb_stor_reset_resume() local 227 struct us_data *us = usb_get_intfdata(iface); in usb_stor_pre_reset() local 237 struct us_data *us = usb_get_intfdata(iface); in usb_stor_post_reset() local 261 void fill_inquiry_response(struct us_data *us, unsigned char *data, in fill_inquiry_response() 300 struct us_data *us = (struct us_data *)__us; in usb_stor_control_thread() local 440 static int associate_dev(struct us_data *us, struct usb_interface *intf) in associate_dev() 588 static int get_device_info(struct us_data *us, const struct usb_device_id *id, in get_device_info() 666 static void get_transport(struct us_data *us) in get_transport() [all …]
|
D | transport.c | 115 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() 256 static int interpret_urb_result(struct us_data *us, unsigned int pipe, in interpret_urb_result() 322 int usb_stor_ctrl_transfer(struct us_data *us, unsigned int pipe, in usb_stor_ctrl_transfer() 356 static int usb_stor_intr_transfer(struct us_data *us, void *buf, in usb_stor_intr_transfer() 385 int usb_stor_bulk_transfer_buf(struct us_data *us, unsigned int pipe, in usb_stor_bulk_transfer_buf() 411 static int usb_stor_bulk_transfer_sglist(struct us_data *us, unsigned int pipe, in usb_stor_bulk_transfer_sglist() 466 int usb_stor_bulk_srb(struct us_data* us, unsigned int pipe, in usb_stor_bulk_srb() 488 int usb_stor_bulk_transfer_sg(struct us_data* us, unsigned int pipe, in usb_stor_bulk_transfer_sg() [all …]
|
D | shuttle_usbat.c | 214 static int usbat_get_device_type(struct us_data *us) in usbat_get_device_type() 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() 290 static int usbat_execute_command(struct us_data *us, in usbat_execute_command() 302 static int usbat_get_status(struct us_data *us, unsigned char *status) in usbat_get_status() 314 static int usbat_check_status(struct us_data *us) in usbat_check_status() 338 static int usbat_set_shuttle_features(struct us_data *us, in usbat_set_shuttle_features() 394 static int usbat_wait_not_busy(struct us_data *us, int minutes) in usbat_wait_not_busy() [all …]
|
D | scsiglue.c | 64 struct us_data *us = host_to_us(host); in host_info() local 70 struct us_data *us = host_to_us(sdev->host); in slave_alloc() local 94 struct us_data *us = host_to_us(sdev->host); in slave_configure() local 339 struct us_data *us = host_to_us(dev_to_shost(starget->dev.parent)); in target_alloc() local 369 struct us_data *us = host_to_us(srb->device->host); in queuecommand_lck() local 411 struct us_data *us = host_to_us(srb->device->host); in DEF_SCSI_QCMD() local 453 struct us_data *us = host_to_us(srb->device->host); in device_reset() local 469 struct us_data *us = host_to_us(srb->device->host); in bus_reset() local 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 …]
|
D | realtek_cr.c | 100 struct us_data *us; member 201 static int rts51x_bulk_transport(struct us_data *us, u8 lun, in rts51x_bulk_transport() 291 static int rts51x_bulk_transport_special(struct us_data *us, u8 lun, in rts51x_bulk_transport_special() 338 static int rts51x_get_max_lun(struct us_data *us) in rts51x_get_max_lun() 360 static int rts51x_read_mem(struct us_data *us, u16 addr, u8 *data, u16 len) in rts51x_read_mem() 391 static int rts51x_write_mem(struct us_data *us, u16 addr, u8 *data, u16 len) in rts51x_write_mem() 419 static int rts51x_read_status(struct us_data *us, in rts51x_read_status() 447 static int rts51x_check_status(struct us_data *us, u8 lun) in rts51x_check_status() 478 static int enable_oscillator(struct us_data *us) in enable_oscillator() 502 static int __do_config_autodelink(struct us_data *us, u8 *data, u16 len) in __do_config_autodelink() [all …]
|
D | sddr09.c | 289 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() 348 sddr09_request_sense(struct us_data *us, unsigned char *sensebuf, int buflen) { in sddr09_request_sense() 389 sddr09_readX(struct us_data *us, int x, unsigned long fromaddress, in sddr09_readX() 438 sddr09_read20(struct us_data *us, unsigned long fromaddress, in sddr09_read20() 461 sddr09_read21(struct us_data *us, unsigned long fromaddress, in sddr09_read21() 479 sddr09_read22(struct us_data *us, unsigned long fromaddress, in sddr09_read22() 522 sddr09_erase(struct us_data *us, unsigned long Eaddress) { in sddr09_erase() 571 sddr09_writeX(struct us_data *us, in sddr09_writeX() 615 sddr09_write_inplace(struct us_data *us, unsigned long address, in sddr09_write_inplace() [all …]
|
D | alauda.c | 114 #define MEDIA_PORT(us) us->srb->device->lun argument 115 #define MEDIA_INFO(us) ((struct alauda_info *)us->extra)->port[MEDIA_PORT(us)] argument 308 static int alauda_get_media_status(struct us_data *us, unsigned char *data) in alauda_get_media_status() 330 static int alauda_ack_media(struct us_data *us) in alauda_ack_media() 347 static int alauda_get_media_signature(struct us_data *us, unsigned char *data) in alauda_get_media_signature() 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() 521 static int alauda_get_redu_data(struct us_data *us, u16 pba, unsigned char *data) in alauda_get_redu_data() [all …]
|
D | ene_ub6250.c | 490 static int ene_send_scsi_cmd(struct us_data *us, u8 fDir, void *buf, int use_sg) in ene_send_scsi_cmd() 570 static int do_scsi_request_sense(struct us_data *us, struct scsi_cmnd *srb) in do_scsi_request_sense() 586 static int do_scsi_inquiry(struct us_data *us, struct scsi_cmnd *srb) in do_scsi_inquiry() 598 static int sd_scsi_test_unit_ready(struct us_data *us, struct scsi_cmnd *srb) in sd_scsi_test_unit_ready() 612 static int sd_scsi_mode_sense(struct us_data *us, struct scsi_cmnd *srb) in sd_scsi_mode_sense() 631 static int sd_scsi_read_capacity(struct us_data *us, struct scsi_cmnd *srb) in sd_scsi_read_capacity() 671 static int sd_scsi_read(struct us_data *us, struct scsi_cmnd *srb) in sd_scsi_read() 711 static int sd_scsi_write(struct us_data *us, struct scsi_cmnd *srb) in sd_scsi_write() 755 static int ms_lib_set_logicalpair(struct us_data *us, u16 logblk, u16 phyblk) in ms_lib_set_logicalpair() 768 static int ms_lib_set_logicalblockmark(struct us_data *us, u16 phyblk, u16 mark) in ms_lib_set_logicalblockmark() [all …]
|
D | jumpshot.c | 105 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() local
|
D | datafab.c | 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() local
|
D | sddr55.c | 110 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() local
|
D | initializers.c | 34 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()
|
D | debug.c | 41 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()
|
D | option_ms.c | 29 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()
|
D | isd200.c | 399 static void isd200_build_sense(struct us_data *us, struct scsi_cmnd *srb) in isd200_build_sense() 477 static int isd200_action( struct us_data *us, int action, in isd200_action() 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() 709 static void isd200_log_config(struct us_data *us, struct isd200_info *info) in isd200_log_config() 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() 842 static int isd200_atapi_soft_reset( struct us_data *us ) in isd200_atapi_soft_reset() 868 static int isd200_srst( struct us_data *us ) in isd200_srst() 909 static int isd200_try_enum(struct us_data *us, unsigned char master_slave, in isd200_try_enum() [all …]
|
D | freecom.c | 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() local
|
D | protocol.c | 45 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()
|
D | karma.c | 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() local
|
D | debug.h | 42 static inline void _usb_stor_dbg(const struct us_data *us, in _usb_stor_dbg() 46 #define usb_stor_dbg(us, fmt, ...) \ argument
|
D | cypress_atacb.c | 73 static void cypress_atacb_passthrough(struct scsi_cmnd *srb, struct us_data *us) in cypress_atacb_passthrough() 243 struct us_data *us; in cypress_probe() local
|
D | onetouch.c | 142 static void usb_onetouch_pm_hook(struct us_data *us, int action) in usb_onetouch_pm_hook() 278 struct us_data *us; in onetouch_probe() local
|
/linux-6.1.9/arch/loongarch/lib/ |
D | delay.c | 32 void __udelay(unsigned long us) in __udelay()
|
/linux-6.1.9/arch/mips/include/asm/ |
D | delay.h | 21 #define udelay(us) __udelay(us) argument
|
/linux-6.1.9/arch/loongarch/include/asm/ |
D | delay.h | 15 #define udelay(us) __udelay(us) argument
|
/linux-6.1.9/arch/mips/lib/ |
D | delay.c | 52 void __udelay(unsigned long us) in __udelay()
|