Lines Matching defs:cam_status
2194 static void sym_flush_busy_queue (hcb_p np, int cam_status);
2195 static void sym_flush_comp_queue (hcb_p np, int cam_status);
2308 static __inline void sym_set_cam_status(union ccb *ccb, cam_status status)
2362 static void sym_xpt_done2(hcb_p np, union ccb *ccb, int cam_status)
2367 sym_set_cam_status(ccb, cam_status);
3092 static void sym_flush_busy_queue (hcb_p np, int cam_status)
3100 sym_flush_comp_queue(np, cam_status);
4617 sym_flush_comp_queue(hcb_p np, int cam_status)
4630 if (cam_status)
4631 sym_set_cam_status(ccb, cam_status);
4828 sym_clear_tasks(hcb_p np, int cam_status, int target, int lun, int task)
4862 sym_set_cam_status(ccb, cam_status);
7068 static int sym_xerr_cam_status(int cam_status, int x_status)
7072 cam_status = CAM_UNCOR_PARITY;
7074 cam_status = CAM_DATA_RUN_ERR;
7076 cam_status = CAM_REQ_CMP_ERR;
7078 cam_status = CAM_REQ_CMP_ERR;
7080 return cam_status;
7096 u_int cam_status;
7150 cam_status = sym_xerr_cam_status(CAM_SCSI_STATUS_ERROR,
7152 cam_status |= CAM_AUTOSNS_VALID;
7182 cam_status = CAM_AUTOSENSE_FAIL;
7186 cam_status = CAM_SCSI_STATUS_ERROR;
7189 cam_status = CAM_SEL_TIMEOUT;
7191 cam_status = CAM_UNEXP_BUSFREE;
7203 cam_status = sym_xerr_cam_status(CAM_REQ_CMP_ERR,
7232 sym_set_cam_status((union ccb *) csio, cam_status);