Lines Matching refs:result
405 static void fas216_done(FAS216_Info *info, unsigned int result);
1984 unsigned int result)
1997 * @result: driver byte of result
2002 unsigned int result)
2007 "request sense complete, result=0x%04x%02x%02x",
2008 result, scsi_pointer->Message, scsi_pointer->Status);
2010 if (result != DID_OK || scsi_pointer->Status != SAM_STAT_GOOD)
2020 * Note that we don't set SCpnt->result, since that should
2033 * @result: driver byte of result
2038 fas216_std_done(FAS216_Info *info, struct scsi_cmnd *SCpnt, unsigned int result)
2044 set_host_byte(SCpnt, result);
2045 if (result == DID_OK)
2050 "command complete, result=0x%08x", SCpnt->result);
2090 SCpnt->result, info->scsi.SCp.ptr,
2134 * @result: driver byte of result
2138 static void fas216_done(FAS216_Info *info, unsigned int result)
2155 result = DID_ABORT;
2181 fn(info, SCpnt, result);
2209 int result;
2218 SCpnt->result = 0;
2230 result = !queue_add_cmd_ordered(&info->queues.issue, SCpnt);
2236 if (result == 0 && info->scsi.phase == PHASE_IDLE)
2241 result ? "failure" : "success");
2243 return result;
2273 * Returns: scsi result code.
2429 int result = FAILED;
2448 result = SUCCESS;
2467 return result;