Home
last modified time | relevance | path

Searched defs:srb (Results 1 – 25 of 51) sorted by relevance

123

/linux-6.6.21/drivers/staging/rts5208/
Drtsx_scsi.c24 struct scsi_cmnd *srb = chip->srb; in scsi_show_command() local
411 static int test_unit_ready(struct scsi_cmnd *srb, struct rtsx_chip *chip) in test_unit_ready()
463 static int inquiry(struct scsi_cmnd *srb, struct rtsx_chip *chip) in inquiry()
548 static int start_stop_unit(struct scsi_cmnd *srb, struct rtsx_chip *chip) in start_stop_unit()
581 static int allow_medium_removal(struct scsi_cmnd *srb, struct rtsx_chip *chip) in allow_medium_removal()
598 static int request_sense(struct scsi_cmnd *srb, struct rtsx_chip *chip) in request_sense()
736 static int mode_sense(struct scsi_cmnd *srb, struct rtsx_chip *chip) in mode_sense()
833 static int read_write(struct scsi_cmnd *srb, struct rtsx_chip *chip) in read_write()
968 static int read_format_capacity(struct scsi_cmnd *srb, struct rtsx_chip *chip) in read_format_capacity()
1046 static int read_capacity(struct scsi_cmnd *srb, struct rtsx_chip *chip) in read_capacity()
[all …]
Dspi.c436 int spi_get_status(struct scsi_cmnd *srb, struct rtsx_chip *chip) in spi_get_status()
449 int spi_set_parameter(struct scsi_cmnd *srb, struct rtsx_chip *chip) in spi_set_parameter()
469 int spi_read_flash_id(struct scsi_cmnd *srb, struct rtsx_chip *chip) in spi_read_flash_id()
552 int spi_read_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip) in spi_read_flash()
645 int spi_write_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip) in spi_write_flash()
820 int spi_erase_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip) in spi_erase_flash()
863 int spi_write_flash_status(struct scsi_cmnd *srb, struct rtsx_chip *chip) in spi_write_flash_status()
Drtsx_transport.c34 struct scsi_cmnd *srb, in rtsx_stor_access_xfer_buf()
119 unsigned int buflen, struct scsi_cmnd *srb) in rtsx_stor_set_xfer_buf()
130 unsigned int buflen, struct scsi_cmnd *srb) in rtsx_stor_get_xfer_buf()
149 void rtsx_invoke_transport(struct scsi_cmnd *srb, struct rtsx_chip *chip) in rtsx_invoke_transport()
Dms.c2609 static int mspro_rw_multi_sector(struct scsi_cmnd *srb,
2878 int mspro_format(struct scsi_cmnd *srb, struct rtsx_chip *chip,
3383 static inline void ms_rw_fail(struct scsi_cmnd *srb, struct rtsx_chip *chip)
3392 static int ms_rw_multi_sector(struct scsi_cmnd *srb, struct rtsx_chip *chip,
3644 int ms_rw(struct scsi_cmnd *srb, struct rtsx_chip *chip,
3799 int mg_set_leaf_id(struct scsi_cmnd *srb, struct rtsx_chip *chip)
3843 int mg_get_local_EKB(struct scsi_cmnd *srb, struct rtsx_chip *chip)
3893 int mg_chg(struct scsi_cmnd *srb, struct rtsx_chip *chip)
3968 int mg_get_rsp_chg(struct scsi_cmnd *srb, struct rtsx_chip *chip)
4022 int mg_rsp(struct scsi_cmnd *srb, struct rtsx_chip *chip)
[all …]
Dsd.c3286 int sd_rw(struct scsi_cmnd *srb, struct rtsx_chip *chip, u32 start_sector,
3741 int sd_pass_thru_mode(struct scsi_cmnd *srb, struct rtsx_chip *chip)
3812 static inline int get_rsp_type(struct scsi_cmnd *srb, u8 *rsp_type,
3851 int sd_execute_no_data(struct scsi_cmnd *srb, struct rtsx_chip *chip)
3963 int sd_execute_read_data(struct scsi_cmnd *srb, struct rtsx_chip *chip)
4197 int sd_execute_write_data(struct scsi_cmnd *srb, struct rtsx_chip *chip)
4543 int sd_get_cmd_rsp(struct scsi_cmnd *srb, struct rtsx_chip *chip)
4582 int sd_hw_rst(struct scsi_cmnd *srb, struct rtsx_chip *chip)
Drtsx.c121 static int queuecommand_lck(struct scsi_cmnd *srb) in queuecommand_lck()
185 static int device_reset(struct scsi_cmnd *srb) in device_reset()
/linux-6.6.21/drivers/usb/storage/
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()
104 void usb_stor_transparent_scsi_command(struct scsi_cmnd *srb, in usb_stor_transparent_scsi_command()
122 unsigned int buflen, struct scsi_cmnd *srb, struct scatterlist **sgptr, in usb_stor_access_xfer_buf()
170 unsigned int buflen, struct scsi_cmnd *srb) in usb_stor_set_xfer_buf()
Dscsiglue.c373 static int queuecommand_lck(struct scsi_cmnd *srb) in queuecommand_lck()
457 static int command_abort(struct scsi_cmnd *srb) in command_abort()
469 static int device_reset(struct scsi_cmnd *srb) in device_reset()
488 static int bus_reset(struct scsi_cmnd *srb) in bus_reset()
Dtransport.c467 struct scsi_cmnd* srb) in usb_stor_bulk_srb()
524 static void last_sector_hacks(struct us_data *us, struct scsi_cmnd *srb) in last_sector_hacks()
604 void usb_stor_invoke_transport(struct scsi_cmnd *srb, struct us_data *us) in usb_stor_invoke_transport()
957 int usb_stor_CB_transport(struct scsi_cmnd *srb, struct us_data *us) in usb_stor_CB_transport()
1115 int usb_stor_Bulk_transport(struct scsi_cmnd *srb, struct us_data *us) in usb_stor_Bulk_transport()
Disd200.c330 struct scsi_cmnd srb; member
399 static void isd200_build_sense(struct us_data *us, struct scsi_cmnd *srb) in isd200_build_sense()
452 struct scsi_cmnd *srb = &info->srb; in isd200_set_srb() local
463 static void isd200_srb_set_bufflen(struct scsi_cmnd *srb, unsigned bufflen) in isd200_srb_set_bufflen()
484 struct scsi_cmnd *srb = &info->srb; in isd200_action() local
608 struct scsi_cmnd *srb, in isd200_invoke_transport()
1219 static int isd200_scsi_to_ata(struct scsi_cmnd *srb, struct us_data *us, in isd200_scsi_to_ata()
1513 static void isd200_ata_command(struct scsi_cmnd *srb, struct us_data *us) in isd200_ata_command()
Dene_ub6250.c570 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()
1451 static int ms_scsi_test_unit_ready(struct us_data *us, struct scsi_cmnd *srb) in ms_scsi_test_unit_ready()
1466 static int ms_scsi_mode_sense(struct us_data *us, struct scsi_cmnd *srb) in ms_scsi_mode_sense()
1484 static int ms_scsi_read_capacity(struct us_data *us, struct scsi_cmnd *srb) in ms_scsi_read_capacity()
[all …]
Dfreecom.c152 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()
Ddebug.c41 void usb_stor_show_command(const struct us_data *us, struct scsi_cmnd *srb) in usb_stor_show_command()
Djumpshot.c367 struct scsi_cmnd * srb, in jumpshot_handle_mode_sense()
474 static int jumpshot_transport(struct scsi_cmnd *srb, struct us_data *us) in jumpshot_transport()
Ddatafab.c437 struct scsi_cmnd * srb, in datafab_handle_mode_sense()
547 static int datafab_transport(struct scsi_cmnd *srb, struct us_data *us) in datafab_transport()
Dcypress_atacb.c73 static void cypress_atacb_passthrough(struct scsi_cmnd *srb, struct us_data *us) in cypress_atacb_passthrough()
Drealtek_cr.c117 #define SCSI_LUN(srb) ((srb)->device->lun) argument
786 static inline int working_scsi(struct scsi_cmnd *srb) in working_scsi()
796 static void rts51x_invoke_transport(struct scsi_cmnd *srb, struct us_data *us) in rts51x_invoke_transport()
Dkarma.c145 static int rio_karma_transport(struct scsi_cmnd *srb, struct us_data *us) in rio_karma_transport()
Dshuttle_usbat.c1291 struct scsi_cmnd *srb) in usbat_hp8200e_handle_read10()
1552 static int usbat_hp8200e_transport(struct scsi_cmnd *srb, struct us_data *us) in usbat_hp8200e_transport()
1680 static int usbat_flash_transport(struct scsi_cmnd * srb, struct us_data *us) in usbat_flash_transport()
/linux-6.6.21/drivers/scsi/
Ddc395x.c319 struct ScsiReqBlk srb; member
720 static void free_tag(struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) in free_tag()
760 struct ScsiReqBlk *srb; in waiting_process_next() local
841 static void send_srb(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb) in send_srb()
863 struct ScsiReqBlk *srb) in build_srb()
966 struct ScsiReqBlk *srb; in dc395x_queue_command_lck() local
1218 struct ScsiReqBlk *srb; in dc395x_eh_abort() local
1252 struct ScsiReqBlk *srb) in build_sdtr()
1276 struct ScsiReqBlk *srb) in build_wdtr()
1333 struct ScsiReqBlk* srb) in start_scsi()
[all …]
/linux-6.6.21/drivers/usb/image/
Dmicrotek.c226 static inline void mts_show_command(struct scsi_cmnd *srb) in mts_show_command()
337 static int mts_scsi_abort(struct scsi_cmnd *srb) in mts_scsi_abort()
348 static int mts_scsi_host_reset(struct scsi_cmnd *srb) in mts_scsi_host_reset()
528 mts_build_transfer_context(struct scsi_cmnd *srb, struct mts_desc* desc) in mts_build_transfer_context()
568 static int mts_scsi_queuecommand_lck(struct scsi_cmnd *srb) in mts_scsi_queuecommand_lck()
Dmicrotek.h19 struct scsi_cmnd *srb; member
/linux-6.6.21/drivers/scsi/qla4xxx/
Dql4_isr.c20 struct srb *srb) in qla4xxx_copy_sense()
77 struct srb *srb = ha->status_srb; in qla4xxx_status_cont_entry() local
119 struct srb *srb; in qla4xxx_status_entry() local
475 struct srb *srb = NULL; in qla4xxx_process_response_queue() local
Dql4_def.h223 struct srb *srb; member
234 struct srb { struct
252 struct kref srb_ref; /* reference count for this srb */ argument
253 uint8_t err_id; /* error id */
259 uint16_t reserved;
260 uint16_t iocb_tov;
261 uint16_t iocb_cnt; /* Number of used iocbs */
262 uint16_t cc_stat;
265 uint8_t *req_sense_ptr;
266 uint16_t req_sense_len;
[all …]
Dql4_iocb.c147 static void qla4xxx_build_scsi_iocbs(struct srb *srb, in qla4xxx_build_scsi_iocbs()
272 int qla4xxx_send_command_to_isp(struct scsi_qla_host *ha, struct srb * srb) in qla4xxx_send_command_to_isp()

123