Home
last modified time | relevance | path

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

12

/drivers/staging/rts5208/
Drtsx_scsi.c35 struct scsi_cmnd *srb = chip->srb; in scsi_show_command() local
422 static int test_unit_ready(struct scsi_cmnd *srb, struct rtsx_chip *chip) in test_unit_ready()
474 static int inquiry(struct scsi_cmnd *srb, struct rtsx_chip *chip) in inquiry()
561 static int start_stop_unit(struct scsi_cmnd *srb, struct rtsx_chip *chip) in start_stop_unit()
596 static int allow_medium_removal(struct scsi_cmnd *srb, struct rtsx_chip *chip) in allow_medium_removal()
614 static int request_sense(struct scsi_cmnd *srb, struct rtsx_chip *chip) in request_sense()
754 static int mode_sense(struct scsi_cmnd *srb, struct rtsx_chip *chip) in mode_sense()
854 static int read_write(struct scsi_cmnd *srb, struct rtsx_chip *chip) in read_write()
997 static int read_format_capacity(struct scsi_cmnd *srb, struct rtsx_chip *chip) in read_format_capacity()
1078 static int read_capacity(struct scsi_cmnd *srb, struct rtsx_chip *chip) in read_capacity()
[all …]
Dspi.c519 int spi_get_status(struct scsi_cmnd *srb, struct rtsx_chip *chip) in spi_get_status()
532 int spi_set_parameter(struct scsi_cmnd *srb, struct rtsx_chip *chip) in spi_set_parameter()
554 int spi_read_flash_id(struct scsi_cmnd *srb, struct rtsx_chip *chip) in spi_read_flash_id()
643 int spi_read_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip) in spi_read_flash()
740 int spi_write_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip) in spi_write_flash()
937 int spi_erase_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip) in spi_erase_flash()
990 int spi_write_flash_status(struct scsi_cmnd *srb, struct rtsx_chip *chip) in spi_write_flash_status()
Drtsx_transport.c46 struct scsi_cmnd *srb, in rtsx_stor_access_xfer_buf()
133 unsigned int buflen, struct scsi_cmnd *srb) in rtsx_stor_set_xfer_buf()
144 unsigned int buflen, struct scsi_cmnd *srb) in rtsx_stor_get_xfer_buf()
163 void rtsx_invoke_transport(struct scsi_cmnd *srb, struct rtsx_chip *chip) in rtsx_invoke_transport()
Dms.c2949 static int mspro_rw_multi_sector(struct scsi_cmnd *srb,
3237 int mspro_format(struct scsi_cmnd *srb, struct rtsx_chip *chip,
3816 static inline void ms_rw_fail(struct scsi_cmnd *srb, struct rtsx_chip *chip)
3825 static int ms_rw_multi_sector(struct scsi_cmnd *srb, struct rtsx_chip *chip,
4094 int ms_rw(struct scsi_cmnd *srb, struct rtsx_chip *chip,
4260 int mg_set_leaf_id(struct scsi_cmnd *srb, struct rtsx_chip *chip)
4310 int mg_get_local_EKB(struct scsi_cmnd *srb, struct rtsx_chip *chip)
4367 int mg_chg(struct scsi_cmnd *srb, struct rtsx_chip *chip)
4451 int mg_get_rsp_chg(struct scsi_cmnd *srb, struct rtsx_chip *chip)
4511 int mg_rsp(struct scsi_cmnd *srb, struct rtsx_chip *chip)
[all …]
Dsd.c3693 int sd_rw(struct scsi_cmnd *srb, struct rtsx_chip *chip, u32 start_sector,
4182 int sd_pass_thru_mode(struct scsi_cmnd *srb, struct rtsx_chip *chip)
4256 static inline int get_rsp_type(struct scsi_cmnd *srb, u8 *rsp_type,
4295 int sd_execute_no_data(struct scsi_cmnd *srb, struct rtsx_chip *chip)
4431 int sd_execute_read_data(struct scsi_cmnd *srb, struct rtsx_chip *chip)
4698 int sd_execute_write_data(struct scsi_cmnd *srb, struct rtsx_chip *chip)
5083 int sd_get_cmd_rsp(struct scsi_cmnd *srb, struct rtsx_chip *chip)
5125 int sd_hw_rst(struct scsi_cmnd *srb, struct rtsx_chip *chip)
Drtsx.c132 static int queuecommand_lck(struct scsi_cmnd *srb, in queuecommand_lck()
199 static int device_reset(struct scsi_cmnd *srb) in device_reset()
/drivers/scsi/
Ddc395x.c335 struct ScsiReqBlk srb; member
736 static void free_tag(struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) in free_tag()
760 struct ScsiReqBlk *srb = NULL; in srb_get_free() local
771 static void srb_free_insert(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb) in srb_free_insert()
779 struct ScsiReqBlk *srb) in srb_waiting_insert()
788 struct ScsiReqBlk *srb) in srb_waiting_append()
796 static void srb_going_append(struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) in srb_going_append()
804 static void srb_going_remove(struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) in srb_going_remove()
820 struct ScsiReqBlk *srb) in srb_waiting_remove()
836 struct ScsiReqBlk *srb) in srb_going_to_waiting_move()
[all …]
/drivers/usb/storage/
Dprotocol.c61 void usb_stor_pad12_command(struct scsi_cmnd *srb, struct us_data *us) in usb_stor_pad12_command()
77 void usb_stor_ufi_command(struct scsi_cmnd *srb, struct us_data *us) in usb_stor_ufi_command()
120 void usb_stor_transparent_scsi_command(struct scsi_cmnd *srb, in usb_stor_transparent_scsi_command()
138 unsigned int buflen, struct scsi_cmnd *srb, struct scatterlist **sgptr, in usb_stor_access_xfer_buf()
186 unsigned int buflen, struct scsi_cmnd *srb) in usb_stor_set_xfer_buf()
Dtransport.c478 struct scsi_cmnd* srb) in usb_stor_bulk_srb()
535 static void last_sector_hacks(struct us_data *us, struct scsi_cmnd *srb) in last_sector_hacks()
615 void usb_stor_invoke_transport(struct scsi_cmnd *srb, struct us_data *us) in usb_stor_invoke_transport()
961 int usb_stor_CB_transport(struct scsi_cmnd *srb, struct us_data *us) in usb_stor_CB_transport()
1119 int usb_stor_Bulk_transport(struct scsi_cmnd *srb, struct us_data *us) in usb_stor_Bulk_transport()
Dscsiglue.c367 static int queuecommand_lck(struct scsi_cmnd *srb, in queuecommand_lck()
453 static int device_reset(struct scsi_cmnd *srb) in device_reset()
469 static int bus_reset(struct scsi_cmnd *srb) in bus_reset()
Disd200.c342 struct scsi_cmnd srb; member
411 static void isd200_build_sense(struct us_data *us, struct scsi_cmnd *srb) in isd200_build_sense()
464 struct scsi_cmnd *srb = &info->srb; in isd200_set_srb() local
475 static void isd200_srb_set_bufflen(struct scsi_cmnd *srb, unsigned bufflen) in isd200_srb_set_bufflen()
496 struct scsi_cmnd *srb = &info->srb; in isd200_action() local
620 struct scsi_cmnd *srb, in isd200_invoke_transport()
1231 static int isd200_scsi_to_ata(struct scsi_cmnd *srb, struct us_data *us, in isd200_scsi_to_ata()
1525 static void isd200_ata_command(struct scsi_cmnd *srb, struct us_data *us) in isd200_ata_command()
Dene_ub6250.c587 static int do_scsi_request_sense(struct us_data *us, struct scsi_cmnd *srb) in do_scsi_request_sense()
603 static int do_scsi_inquiry(struct us_data *us, struct scsi_cmnd *srb) in do_scsi_inquiry()
615 static int sd_scsi_test_unit_ready(struct us_data *us, struct scsi_cmnd *srb) in sd_scsi_test_unit_ready()
629 static int sd_scsi_mode_sense(struct us_data *us, struct scsi_cmnd *srb) in sd_scsi_mode_sense()
648 static int sd_scsi_read_capacity(struct us_data *us, struct scsi_cmnd *srb) in sd_scsi_read_capacity()
688 static int sd_scsi_read(struct us_data *us, struct scsi_cmnd *srb) in sd_scsi_read()
728 static int sd_scsi_write(struct us_data *us, struct scsi_cmnd *srb) in sd_scsi_write()
1459 static int ms_scsi_test_unit_ready(struct us_data *us, struct scsi_cmnd *srb) in ms_scsi_test_unit_ready()
1474 static int ms_scsi_mode_sense(struct us_data *us, struct scsi_cmnd *srb) in ms_scsi_mode_sense()
1492 static int ms_scsi_read_capacity(struct us_data *us, struct scsi_cmnd *srb) in ms_scsi_read_capacity()
[all …]
Dfreecom.c164 freecom_readdata (struct scsi_cmnd *srb, struct us_data *us, in freecom_readdata()
197 freecom_writedata (struct scsi_cmnd *srb, struct us_data *us, in freecom_writedata()
233 static int freecom_transport(struct scsi_cmnd *srb, struct us_data *us) in freecom_transport()
Ddebug.c58 void usb_stor_show_command(const struct us_data *us, struct scsi_cmnd *srb) in usb_stor_show_command()
Djumpshot.c379 struct scsi_cmnd * srb, in jumpshot_handle_mode_sense()
486 static int jumpshot_transport(struct scsi_cmnd *srb, struct us_data *us) in jumpshot_transport()
Ddatafab.c450 struct scsi_cmnd * srb, in datafab_handle_mode_sense()
560 static int datafab_transport(struct scsi_cmnd *srb, struct us_data *us) in datafab_transport()
Dcypress_atacb.c85 static void cypress_atacb_passthrough(struct scsi_cmnd *srb, struct us_data *us) in cypress_atacb_passthrough()
Drealtek_cr.c128 #define SCSI_LUN(srb) ((srb)->device->lun) argument
797 static inline int working_scsi(struct scsi_cmnd *srb) in working_scsi()
807 static void rts51x_invoke_transport(struct scsi_cmnd *srb, struct us_data *us) in rts51x_invoke_transport()
Dkarma.c157 static int rio_karma_transport(struct scsi_cmnd *srb, struct us_data *us) in rio_karma_transport()
/drivers/usb/image/
Dmicrotek.c221 static inline void mts_show_command(struct scsi_cmnd *srb) in mts_show_command()
332 static int mts_scsi_abort(struct scsi_cmnd *srb) in mts_scsi_abort()
343 static int mts_scsi_host_reset(struct scsi_cmnd *srb) in mts_scsi_host_reset()
525 mts_build_transfer_context(struct scsi_cmnd *srb, struct mts_desc* desc) in mts_build_transfer_context()
569 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.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()
/drivers/s390/scsi/
Dzfcp_dbf.c113 struct fsf_status_read_buffer *srb = req->data; in zfcp_dbf_hba_fsf_uss() local
586 struct fsf_status_read_buffer *srb = in zfcp_dbf_san_in_els() local

12