Searched refs:scsicmd (Results 1 – 16 of 16) sorted by relevance
/drivers/scsi/aacraid/ |
D | aachba.c | 217 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 …]
|
/drivers/staging/unisys/visorhba/ |
D | visorhba_main.c | 368 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 …]
|
/drivers/ata/ |
D | libata-scsi.c | 632 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 …]
|
D | sata_promise.c | 1055 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()
|
D | sata_sx4.c | 920 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()
|
D | libata-eh.c | 609 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 …]
|
D | pata_pdc2027x.c | 437 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()
|
D | pata_falcon.c | 50 struct scsi_cmnd *cmd = qc->scsicmd; in pata_falcon_data_xfer()
|
D | libata-sata.c | 1488 ata_scsi_set_sense(dev, qc->scsicmd, sense_key, asc, ascq); in ata_eh_analyze_ncq_error() 1489 ata_scsi_set_sense_information(dev, qc->scsicmd, in ata_eh_analyze_ncq_error()
|
D | sata_svw.c | 84 u8 cmnd = qc->scsicmd->cmnd[0]; in k2_sata_check_atapi_dma()
|
D | sata_via.c | 384 (qc->scsicmd->sc_data_direction == DMA_TO_DEVICE)) { in vt6420_bmdma_start()
|
D | libata-core.c | 1523 qc->scsicmd = NULL; in ata_exec_internal_sg() 4561 qc->scsicmd = NULL; in ata_qc_new_init()
|
D | sata_mv.c | 1855 struct scsi_cmnd *scmd = qc->scsicmd; in mv_check_atapi_dma()
|
/drivers/scsi/libsas/ |
D | sas_ata.c | 96 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() 224 if (qc->scsicmd) in sas_ata_qc_issue() 225 ASSIGN_SAS_TASK(qc->scsicmd, task); in sas_ata_qc_issue() 231 if (qc->scsicmd) in sas_ata_qc_issue() 232 ASSIGN_SAS_TASK(qc->scsicmd, NULL); in sas_ata_qc_issue() 604 if (qc->scsicmd) { in sas_ata_task_abort() 605 blk_abort_request(qc->scsicmd->request); in sas_ata_task_abort()
|
/drivers/scsi/ |
D | hpsa.c | 286 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()
|
/drivers/scsi/hisi_sas/ |
D | hisi_sas_main.c | 442 scmd = qc->scsicmd; in hisi_sas_task_prep()
|