Lines Matching defs:cmd_result
503 unsigned int cmd_result;
535 cmd_result = intr_reg & 0xf0;
543 switch (cmd_result) {
563 printk(KERN_ERR "Reason given: %s\n", (cmd_result == IM_ADAPTER_HW_FAILURE) ? "HARDWARE FAILURE" : (cmd_result == IM_SOFTWARE_SEQUENCING_ERROR) ? "SOFTWARE SEQUENCING ERROR" : (cmd_result == IM_CMD_ERROR) ? "COMMAND ERROR" : "UNKNOWN");
583 panic("IBM MCA SCSI: Fatal error message from the subsystem (0x%X,0x%X)!\n", lastSCSI, cmd_result);
590 switch (cmd_result) {
605 stat_result(shpnt) = cmd_result;
616 if (cmd_result == IM_CMD_COMPLETED_WITH_FAILURE) {
626 stat_result(shpnt) = cmd_result;
640 if (cmd_result == IM_CMD_COMPLETED_WITH_FAILURE)
644 stat_result(shpnt) = cmd_result;
655 stat_result(shpnt) = cmd_result;
695 if (cmd_result == IM_CMD_COMPLETED_WITH_FAILURE) {