Lines Matching refs:cam_status
155 static int sym_xerr_cam_status(int cam_status, int x_status) in sym_xerr_cam_status() argument
159 cam_status = DID_PARITY; in sym_xerr_cam_status()
161 cam_status = DID_ERROR; in sym_xerr_cam_status()
163 return cam_status; in sym_xerr_cam_status()
172 u_int cam_status, scsi_status; in sym_set_cam_result_error() local
174 cam_status = DID_OK; in sym_set_cam_result_error()
185 cam_status = sym_xerr_cam_status(DID_OK, in sym_set_cam_result_error()
215 cam_status = DID_ERROR; in sym_set_cam_result_error()
218 cam_status = DID_OK; in sym_set_cam_result_error()
220 cam_status = DID_NO_CONNECT; in sym_set_cam_result_error()
222 cam_status = DID_ERROR; in sym_set_cam_result_error()
232 cam_status = sym_xerr_cam_status(DID_ERROR, cp->xerr_status); in sym_set_cam_result_error()
235 cmd->result = (cam_status << 16) | scsi_status; in sym_set_cam_result_error()