Home
last modified time | relevance | path

Searched refs:scsicmd (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/aacraid/
Daachba.c217 static long aac_build_sg(struct scsi_cmnd *scsicmd, struct sgmap *sgmap);
218 static long aac_build_sg64(struct scsi_cmnd *scsicmd, struct sgmap64 *psg);
219 static long aac_build_sgraw(struct scsi_cmnd *scsicmd, struct sgmapraw *psg);
220 static long aac_build_sgraw2(struct scsi_cmnd *scsicmd,
222 static long aac_build_sghba(struct scsi_cmnd *scsicmd,
227 static int aac_send_srb_fib(struct scsi_cmnd* scsicmd);
228 static int aac_send_hba_fib(struct scsi_cmnd *scsicmd);
332 static inline int aac_valid_context(struct scsi_cmnd *scsicmd, in aac_valid_context() argument
336 if (unlikely(!scsicmd || !scsicmd->scsi_done)) { in aac_valid_context()
341 scsicmd->SCp.phase = AAC_OWNER_MIDLEVEL; in aac_valid_context()
[all …]
/kernel/linux/linux-5.10/drivers/staging/unisys/visorhba/
Dvisorhba_main.c368 static int visorhba_abort_handler(struct scsi_cmnd *scsicmd) in visorhba_abort_handler() argument
375 scsidev = scsicmd->device; in visorhba_abort_handler()
383 scsicmd->result = DID_ABORT << 16; in visorhba_abort_handler()
384 scsicmd->scsi_done(scsicmd); in visorhba_abort_handler()
395 static int visorhba_device_reset_handler(struct scsi_cmnd *scsicmd) in visorhba_device_reset_handler() argument
402 scsidev = scsicmd->device; in visorhba_device_reset_handler()
410 scsicmd->result = DID_RESET << 16; in visorhba_device_reset_handler()
411 scsicmd->scsi_done(scsicmd); in visorhba_device_reset_handler()
423 static int visorhba_bus_reset_handler(struct scsi_cmnd *scsicmd) in visorhba_bus_reset_handler() argument
429 scsidev = scsicmd->device; in visorhba_bus_reset_handler()
[all …]
/kernel/linux/linux-5.10/drivers/ata/
Dlibata-scsi.c632 qc->scsicmd = cmd; in ata_scsi_qc_new()
650 struct scsi_cmnd *scmd = qc->scsicmd; in ata_qc_set_pc_nbytes()
852 struct scsi_cmnd *cmd = qc->scsicmd; in ata_gen_passthru_sense()
951 struct scsi_cmnd *cmd = qc->scsicmd; in ata_gen_ata_sense()
1170 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_start_stop_xlat()
1385 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_verify_xlat()
1534 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_rw_xlat()
1634 struct scsi_cmnd *cmd = qc->scsicmd; in ata_qc_done()
1644 struct scsi_cmnd *cmd = qc->scsicmd; in ata_scsi_qc_complete()
2297 u8 *scsicmd = args->cmd->cmnd, *p = rbuf; in ata_scsiop_mode_sense() local
[all …]
Dsata_promise.c1055 u8 *scsicmd = qc->scsicmd->cmnd; in pdc_check_atapi_dma() local
1059 switch (scsicmd[0]) { in pdc_check_atapi_dma()
1071 if (scsicmd[0] == WRITE_10) { in pdc_check_atapi_dma()
1073 (scsicmd[2] << 24) | in pdc_check_atapi_dma()
1074 (scsicmd[3] << 16) | in pdc_check_atapi_dma()
1075 (scsicmd[4] << 8) | in pdc_check_atapi_dma()
1076 scsicmd[5]; in pdc_check_atapi_dma()
Dsata_sx4.c920 u8 *scsicmd = qc->scsicmd->cmnd; in pdc_check_atapi_dma() local
924 switch (scsicmd[0]) { in pdc_check_atapi_dma()
936 if (scsicmd[0] == WRITE_10) { in pdc_check_atapi_dma()
938 (scsicmd[2] << 24) | in pdc_check_atapi_dma()
939 (scsicmd[3] << 16) | in pdc_check_atapi_dma()
940 (scsicmd[4] << 8) | in pdc_check_atapi_dma()
941 scsicmd[5]; in pdc_check_atapi_dma()
Dlibata-eh.c609 qc->scsicmd == scmd) in ata_scsi_cmd_error_handler()
923 blk_abort_request(qc->scsicmd->request); in ata_qc_schedule_eh()
1161 struct scsi_cmnd *scmd = qc->scsicmd; in __ata_eh_qc_complete()
1182 struct scsi_cmnd *scmd = qc->scsicmd; in ata_eh_qc_complete()
1200 struct scsi_cmnd *scmd = qc->scsicmd; in ata_eh_qc_retry()
1586 ata_eh_request_sense(qc, qc->scsicmd); in ata_eh_analyze_tf()
1600 qc->scsicmd->sense_buffer, in ata_eh_analyze_tf()
1610 int ret = scsi_check_sense(qc->scsicmd); in ata_eh_analyze_tf()
1904 if (qc->scsicmd && in ata_eh_quiet()
1905 qc->scsicmd->request->rq_flags & RQF_QUIET) in ata_eh_quiet()
[all …]
Dpata_pdc2027x.c437 struct scsi_cmnd *cmd = qc->scsicmd; in pdc2027x_check_atapi_dma()
438 u8 *scsicmd = cmd->cmnd; in pdc2027x_check_atapi_dma() local
447 switch (scsicmd[0]) { in pdc2027x_check_atapi_dma()
Dpata_falcon.c50 struct scsi_cmnd *cmd = qc->scsicmd; in pata_falcon_data_xfer()
Dlibata-sata.c1475 ata_scsi_set_sense(dev, qc->scsicmd, sense_key, asc, ascq); in ata_eh_analyze_ncq_error()
1476 ata_scsi_set_sense_information(dev, qc->scsicmd, in ata_eh_analyze_ncq_error()
Dsata_svw.c84 u8 cmnd = qc->scsicmd->cmnd[0]; in k2_sata_check_atapi_dma()
Dsata_via.c384 (qc->scsicmd->sc_data_direction == DMA_TO_DEVICE)) { in vt6420_bmdma_start()
Dlibata-core.c1523 qc->scsicmd = NULL; in ata_exec_internal_sg()
4553 qc->scsicmd = NULL; in ata_qc_new_init()
Dsata_mv.c1855 struct scsi_cmnd *scmd = qc->scsicmd; in mv_check_atapi_dma()
/kernel/linux/linux-5.10/drivers/scsi/libsas/
Dsas_ata.c96 else if (qc && qc->scsicmd) in sas_ata_task_done()
97 ASSIGN_SAS_TASK(qc->scsicmd, NULL); in sas_ata_task_done()
114 if (qc->scsicmd) in sas_ata_task_done()
223 if (qc->scsicmd) in sas_ata_qc_issue()
224 ASSIGN_SAS_TASK(qc->scsicmd, task); in sas_ata_qc_issue()
230 if (qc->scsicmd) in sas_ata_qc_issue()
231 ASSIGN_SAS_TASK(qc->scsicmd, NULL); in sas_ata_qc_issue()
603 if (qc->scsicmd) { in sas_ata_task_abort()
604 blk_abort_request(qc->scsicmd->request); in sas_ata_task_abort()
/kernel/linux/linux-5.10/drivers/scsi/
Dhpsa.c286 static int hpsa_eh_device_reset_handler(struct scsi_cmnd *scsicmd);
6008 static int hpsa_eh_device_reset_handler(struct scsi_cmnd *scsicmd) in hpsa_eh_device_reset_handler() argument
6019 h = sdev_to_hba(scsicmd->device); in hpsa_eh_device_reset_handler()
6032 dev = scsicmd->device->hostdata; in hpsa_eh_device_reset_handler()
6048 hpsa_get_cmd_index(scsicmd)); in hpsa_eh_device_reset_handler()
6058 hpsa_get_cmd_index(scsicmd)); in hpsa_eh_device_reset_handler()
/kernel/linux/linux-5.10/include/linux/
Dlibata.h622 struct scsi_cmnd *scsicmd; member
/kernel/linux/linux-5.10/drivers/scsi/hisi_sas/
Dhisi_sas_main.c442 scmd = qc->scsicmd; in hisi_sas_task_prep()