Searched refs:status_byte (Results 1 – 16 of 16) sorted by relevance
184 #define status_byte(result) (((result) >> 1) & 0x7f) macro
734 switch (status_byte(scmd->result)) { in scsi_eh_completed_normally()1240 if (status_byte(scmd->result) != CHECK_CONDITION) in scsi_eh_get_sense()1747 status_byte(scmd->result) == RESERVATION_CONFLICT) in scsi_noretry_cmd()1754 if (status_byte(scmd->result) != CHECK_CONDITION) in scsi_noretry_cmd()1858 status_byte(scmd->result) == RESERVATION_CONFLICT) in scsi_decide_disposition()1895 switch (status_byte(scmd->result)) { in scsi_decide_disposition()
147 if (status_byte(cmd->result) == CHECK_CONDITION) in scsi_log_completion()
4649 unsigned char status_byte; in FPT_autoCmdCmplt() local4653 status_byte = RD_HARPOON(p_port + hp_gp_reg_0); in FPT_autoCmdCmplt()4657 if (status_byte != SSGOOD) { in FPT_autoCmdCmplt()4659 if (status_byte == SSQ_FULL) { in FPT_autoCmdCmplt()4791 if (status_byte == SSCHECK) { in FPT_autoCmdCmplt()4811 currSCCB->TargetStatus = status_byte; in FPT_autoCmdCmplt()4813 if (status_byte == SSCHECK) { in FPT_autoCmdCmplt()
984 if(status_byte(hostdata->status[0]) == CHECK_CONDITION || in process_script_interrupt()985 status_byte(hostdata->status[0]) == COMMAND_TERMINATED) { in process_script_interrupt()
908 if (status_byte(result) && scsi_status_is_good(result)) { in scsi_io_completion_nz_result()2167 } else if ((status_byte(result) == CHECK_CONDITION) && in scsi_mode_sense()
3270 if (status_byte(status) == CHECK_CONDITION) { in srb_done()3273 } else if (status_byte(status) == QUEUE_FULL) { in srb_done()3342 status_byte(cmd->result) == CHECK_CONDITION)) { in srb_done()
541 if (status_byte(cmd->result) != GOOD) { in complete_cmd()
1371 srp->header.masked_status = status_byte(result); in sg_rq_end_io()
457 u8 status_byte = 0; in simple_post_tune() local464 &status_byte, 1); in simple_post_tune()470 if (status_byte & TUNER_PLL_LOCKED) in simple_post_tune()
2062 if (status_byte(SCpnt->result) == CHECK_CONDITION || in fas216_std_done()2063 status_byte(SCpnt->result) == COMMAND_TERMINATED) in fas216_std_done()2070 if (status_byte(SCpnt->result) != GOOD) in fas216_std_done()
842 switch (status_byte(SCpnt->result)) { in acornscsi_done()
256 hdr->masked_status = status_byte(req->result); in blk_complete_sghdr_rq()
1052 u8 scsi_status = status_byte(result) << 1; in pscsi_req_done()
227 pending_req->cmnd[0], status_byte(errors), msg_byte(errors), in scsiback_print_status()
1180 in the LSB. See include/scsi/scsi.h status_byte(),