Lines Matching refs:status
136 #define DRIVER_OK 0x00 /* Driver status */
176 * Use these to separate status msg and our bytes
180 * status byte = set from target device
181 * msg_byte = return status from host adapter itself.
182 * host_byte = set by low-level driver to indicate status.
252 /** scsi_status_is_good - check the status return.
254 * @status: the status passed up from the driver (including host and
260 static inline int scsi_status_is_good(int status)
262 if (host_byte(status) == DID_NO_CONNECT)
270 status &= 0xfe;
271 return ((status == SAM_STAT_GOOD) ||
272 (status == SAM_STAT_CONDITION_MET) ||
274 (status == SAM_STAT_INTERMEDIATE) ||
275 (status == SAM_STAT_INTERMEDIATE_CONDITION_MET) ||
277 (status == SAM_STAT_COMMAND_TERMINATED));