Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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()
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()
/kernel/linux/linux-6.6/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()
1227 static int isd200_scsi_to_ata(struct scsi_cmnd *srb, struct us_data *us, in isd200_scsi_to_ata()
1526 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()
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.6/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 …]

12345