Lines Matching refs:ScsiResult
380 #define ScsiResult(host_code, scsi_code) (((host_code) << 16) + ((scsi_code) & 0x7f)) macro
4813 cmd->result = ScsiResult(DID_RESET, 0);
4840 cmd->result = ScsiResult(DID_ABORT, 0);
5166 cmd->result = ScsiResult(DID_OK, cp->scsi_status);
5213 cmd->result = ScsiResult(DID_OK, S_CHECK_COND);
5234 cmd->result = ScsiResult(DID_OK, S_CONFLICT);
5243 cmd->result = ScsiResult(DID_OK, cp->scsi_status);
5251 cmd->result = ScsiResult(DID_TIME_OUT, cp->scsi_status);
5258 cmd->result = ScsiResult(DID_RESET, cp->scsi_status);
5265 cmd->result = ScsiResult(DID_ABORT, cp->scsi_status);
5276 cmd->result = ScsiResult(DID_ERROR, cp->scsi_status);
8579 cmd->result = ScsiResult(sts, 0);
8852 wcmd->result = ScsiResult(sts, 0);