Searched refs:ScsiResult (Results 1 – 2 of 2) sorted by relevance
1001 #define ScsiResult(host_code, scsi_code) (((host_code) << 16) + ((scsi_code) & 0x7f)) macro4633 cmd->result = ScsiResult(DID_ABORT, 0);4916 cmd->result = ScsiResult(DID_OK, cp->scsi_status); in ncr_complete()4981 cmd->result = ScsiResult(DID_OK, cp->scsi_status); in ncr_complete()4989 cmd->result = ScsiResult(DID_TIME_OUT, cp->scsi_status); in ncr_complete()4996 cmd->result = ScsiResult(DID_RESET, cp->scsi_status); in ncr_complete()5003 cmd->result = ScsiResult(DID_ABORT, cp->scsi_status); in ncr_complete()5013 cmd->result = ScsiResult(DID_ERROR, cp->scsi_status); in ncr_complete()
1058 declarations. Also removing a redundant #define ScsiResult as it