Home
last modified time | relevance | path

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

12

/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()
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_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()
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()
188 static int device_reset(struct scsi_cmnd *srb) in device_reset()
/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.c366 static int queuecommand_lck(struct scsi_cmnd *srb, in queuecommand_lck()
451 static int command_abort(struct scsi_cmnd *srb) in command_abort()
463 static int device_reset(struct scsi_cmnd *srb) in device_reset()
482 static int bus_reset(struct scsi_cmnd *srb) in bus_reset()
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()
952 int usb_stor_CB_transport(struct scsi_cmnd *srb, struct us_data *us) in usb_stor_CB_transport()
1110 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()
1450 static int ms_scsi_test_unit_ready(struct us_data *us, struct scsi_cmnd *srb) in ms_scsi_test_unit_ready()
1465 static int ms_scsi_mode_sense(struct us_data *us, struct scsi_cmnd *srb) in ms_scsi_mode_sense()
1483 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.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()
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()
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()
/drivers/scsi/
Ddc395x.c334 struct ScsiReqBlk srb; member
735 static void free_tag(struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) in free_tag()
775 struct ScsiReqBlk *srb; in waiting_process_next() local
856 static void send_srb(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb) in send_srb()
878 struct ScsiReqBlk *srb) in build_srb()
981 struct ScsiReqBlk *srb; in dc395x_queue_command_lck() local
1234 struct ScsiReqBlk *srb; in dc395x_eh_abort() local
1268 struct ScsiReqBlk *srb) in build_sdtr()
1296 struct ScsiReqBlk *srb) in build_wdtr()
1357 struct ScsiReqBlk* srb) in start_scsi()
[all …]
/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
/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
476 struct srb *srb = NULL; in qla4xxx_process_response_queue() local
Dql4_def.h225 struct srb { struct
243 struct kref srb_ref; /* reference count for this srb */ argument
244 uint8_t err_id; /* error id */
250 uint16_t reserved;
251 uint16_t iocb_tov;
252 uint16_t iocb_cnt; /* Number of used iocbs */
253 uint16_t cc_stat;
256 uint8_t *req_sense_ptr;
257 uint16_t req_sense_len;
258 uint16_t reserved2;
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()
/drivers/s390/scsi/
Dzfcp_dbf.c156 struct fsf_status_read_buffer *srb = req->data; in zfcp_dbf_hba_fsf_uss() local
631 struct fsf_status_read_buffer *srb = in zfcp_dbf_san_in_els() local

12