• Home
  • Raw
  • Download

Lines Matching refs:scsicmd

801 		qc->scsicmd = cmd;  in ata_scsi_qc_new()
816 struct scsi_cmnd *scmd = qc->scsicmd; in ata_qc_set_pc_nbytes()
1019 struct scsi_cmnd *cmd = qc->scsicmd; in ata_gen_passthru_sense()
1118 struct scsi_cmnd *cmd = qc->scsicmd; in ata_gen_ata_sense()
1408 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_start_stop_xlat()
1623 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_verify_xlat()
1757 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_rw_xlat()
1848 struct scsi_cmnd *cmd = qc->scsicmd; in ata_qc_done()
1858 struct scsi_cmnd *cmd = qc->scsicmd; in ata_scsi_qc_complete()
2521 u8 *scsicmd = args->cmd->cmnd, *p = rbuf; in ata_scsiop_mode_sense() local
2534 six_byte = (scsicmd[0] == MODE_SENSE); in ata_scsiop_mode_sense()
2535 ebd = !(scsicmd[1] & 0x8); /* dbd bit inverted == edb */ in ata_scsiop_mode_sense()
2540 page_control = scsicmd[2] >> 6; in ata_scsiop_mode_sense()
2559 pg = scsicmd[2] & 0x3f; in ata_scsiop_mode_sense()
2560 spg = scsicmd[3]; in ata_scsiop_mode_sense()
2748 struct scsi_cmnd *cmd = qc->scsicmd; in atapi_request_sense()
2796 struct scsi_cmnd *cmd = qc->scsicmd; in atapi_qc_complete()
2830 qc->scsicmd->result = SAM_STAT_CHECK_CONDITION; in atapi_qc_complete()
2848 u8 *scsicmd = cmd->cmnd; in atapi_qc_complete() local
2850 if ((scsicmd[0] == INQUIRY) && ((scsicmd[1] & 0x03) == 0)) { in atapi_qc_complete()
2889 struct scsi_cmnd *scmd = qc->scsicmd; in atapi_xlat()
3083 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_pass_thru()
3399 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_write_same_xlat()
3601 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_report_zones_complete()
3665 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_zbc_in_xlat()
3748 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_zbc_out_xlat()
3941 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_mode_select_xlat()
4277 const u8 *scsicmd = cmd->cmnd; in ata_scsi_simulate() local
4285 switch(scsicmd[0]) { in ata_scsi_simulate()
4287 if (scsicmd[1] & 2) /* is CmdDt set? */ in ata_scsi_simulate()
4289 else if ((scsicmd[1] & 1) == 0) /* is EVPD clear? */ in ata_scsi_simulate()
4291 else switch (scsicmd[2]) { in ata_scsi_simulate()
4335 if ((scsicmd[1] & 0x1f) == SAI_READ_CAPACITY_16) in ata_scsi_simulate()
4366 tmp8 = scsicmd[1] & ~(1 << 3); in ata_scsi_simulate()
4367 if ((tmp8 == 0x4) && (!scsicmd[3]) && (!scsicmd[4])) in ata_scsi_simulate()
4374 if (scsicmd[1] == MI_REPORT_SUPPORTED_OPERATION_CODES) in ata_scsi_simulate()