Home
last modified time | relevance | path

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

123

/Linux-v5.4/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()
471 int spi_read_flash_id(struct scsi_cmnd *srb, struct rtsx_chip *chip) in spi_read_flash_id()
554 int spi_read_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip) in spi_read_flash()
647 int spi_write_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip) in spi_write_flash()
822 int spi_erase_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip) in spi_erase_flash()
865 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()
121 unsigned int buflen, struct scsi_cmnd *srb) in rtsx_stor_set_xfer_buf()
132 unsigned int buflen, struct scsi_cmnd *srb) in rtsx_stor_get_xfer_buf()
151 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 …]
Drtsx.c121 static int queuecommand_lck(struct scsi_cmnd *srb, in queuecommand_lck()
188 static int device_reset(struct scsi_cmnd *srb) in device_reset()
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)
/Linux-v5.4/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()
Dtransport.c462 struct scsi_cmnd* srb) in usb_stor_bulk_srb()
519 static void last_sector_hacks(struct us_data *us, struct scsi_cmnd *srb) in last_sector_hacks()
599 void usb_stor_invoke_transport(struct scsi_cmnd *srb, struct us_data *us) in usb_stor_invoke_transport()
945 int usb_stor_CB_transport(struct scsi_cmnd *srb, struct us_data *us) in usb_stor_CB_transport()
1103 int usb_stor_Bulk_transport(struct scsi_cmnd *srb, struct us_data *us) in usb_stor_Bulk_transport()
Dscsiglue.c365 static int queuecommand_lck(struct scsi_cmnd *srb, in queuecommand_lck()
451 static int device_reset(struct scsi_cmnd *srb) in device_reset()
467 static int bus_reset(struct scsi_cmnd *srb) in bus_reset()
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()
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()
Dene_ub6250.c573 static int do_scsi_request_sense(struct us_data *us, struct scsi_cmnd *srb) in do_scsi_request_sense()
589 static int do_scsi_inquiry(struct us_data *us, struct scsi_cmnd *srb) in do_scsi_inquiry()
601 static int sd_scsi_test_unit_ready(struct us_data *us, struct scsi_cmnd *srb) in sd_scsi_test_unit_ready()
615 static int sd_scsi_mode_sense(struct us_data *us, struct scsi_cmnd *srb) in sd_scsi_mode_sense()
634 static int sd_scsi_read_capacity(struct us_data *us, struct scsi_cmnd *srb) in sd_scsi_read_capacity()
674 static int sd_scsi_read(struct us_data *us, struct scsi_cmnd *srb) in sd_scsi_read()
714 static int sd_scsi_write(struct us_data *us, struct scsi_cmnd *srb) in sd_scsi_write()
1453 static int ms_scsi_test_unit_ready(struct us_data *us, struct scsi_cmnd *srb) in ms_scsi_test_unit_ready()
1468 static int ms_scsi_mode_sense(struct us_data *us, struct scsi_cmnd *srb) in ms_scsi_mode_sense()
1486 static int ms_scsi_read_capacity(struct us_data *us, struct scsi_cmnd *srb) in ms_scsi_read_capacity()
[all …]
Ddebug.c42 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.c438 struct scsi_cmnd * srb, in datafab_handle_mode_sense()
548 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()
Dkarma.c145 static int rio_karma_transport(struct scsi_cmnd *srb, struct us_data *us) in rio_karma_transport()
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()
/Linux-v5.4/drivers/scsi/
Ddc395x.c335 struct ScsiReqBlk srb; member
736 static void free_tag(struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) in free_tag()
776 struct ScsiReqBlk *srb; in waiting_process_next() local
857 static void send_srb(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb) in send_srb()
879 struct ScsiReqBlk *srb) in build_srb()
982 struct ScsiReqBlk *srb; in dc395x_queue_command_lck() local
1089 struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) in dump_register_info()
1267 struct ScsiReqBlk *srb; in dc395x_eh_abort() local
1301 struct ScsiReqBlk *srb) in build_sdtr()
1329 struct ScsiReqBlk *srb) in build_wdtr()
[all …]
/Linux-v5.4/drivers/usb/image/
Dmicrotek.c222 static inline void mts_show_command(struct scsi_cmnd *srb) in mts_show_command()
333 static int mts_scsi_abort(struct scsi_cmnd *srb) in mts_scsi_abort()
344 static int mts_scsi_host_reset(struct scsi_cmnd *srb) in mts_scsi_host_reset()
524 mts_build_transfer_context(struct scsi_cmnd *srb, struct mts_desc* desc) in mts_build_transfer_context()
566 mts_scsi_queuecommand_lck(struct scsi_cmnd *srb, mts_scsi_cmnd_callback callback) in mts_scsi_queuecommand_lck()
Dmicrotek.h19 struct scsi_cmnd *srb; member
/Linux-v5.4/drivers/scsi/qla4xxx/
Dql4_isr.c21 struct srb *srb) in qla4xxx_copy_sense()
78 struct srb *srb = ha->status_srb; in qla4xxx_status_cont_entry() local
120 struct srb *srb; in qla4xxx_status_entry() local
477 struct srb *srb = NULL; in qla4xxx_process_response_queue() local
Dql4_def.h226 struct srb { struct
244 struct kref srb_ref; /* reference count for this srb */ argument
245 uint8_t err_id; /* error id */
251 uint16_t reserved;
252 uint16_t iocb_tov;
253 uint16_t iocb_cnt; /* Number of used iocbs */
254 uint16_t cc_stat;
257 uint8_t *req_sense_ptr;
258 uint16_t req_sense_len;
259 uint16_t reserved2;
Dql4_iocb.c148 static void qla4xxx_build_scsi_iocbs(struct srb *srb, in qla4xxx_build_scsi_iocbs()
273 int qla4xxx_send_command_to_isp(struct scsi_qla_host *ha, struct srb * srb) in qla4xxx_send_command_to_isp()
/Linux-v5.4/drivers/s390/scsi/
Dzfcp_dbf.c116 struct fsf_status_read_buffer *srb = req->data; in zfcp_dbf_hba_fsf_uss() local
591 struct fsf_status_read_buffer *srb = in zfcp_dbf_san_in_els() local

123