Lines Matching refs:result
541 if (status_byte(cmd->result) != GOOD) {
575 cmd->result = (DID_ERROR << 16);
581 cmd->result = 0;
629 * need autosense because of a CHECK CONDITION result.
960 * cmd->result host byte set to DID_BAD_TARGET.
1153 cmd->result = DID_BAD_TARGET << 16;
1202 cmd->result = DID_ERROR << 16;
1485 int result = 0;
1518 result = NCR5380_dma_recv_setup(hostdata, d, c);
1520 result = NCR5380_dma_send_setup(hostdata, d, c);
1552 result = NCR5380_dma_recv_setup(hostdata, d, c);
1554 result = NCR5380_dma_send_setup(hostdata, d, c);
1558 if (result < 0)
1559 return result;
1561 /* For real DMA, result is the byte count. DMA interrupt is expected. */
1562 if (result > 0) {
1563 hostdata->dma_len = result;
1567 /* The result is zero iff pseudo DMA send/receive was completed. */
1623 result = -1;
1628 result = -1;
1640 result = -1;
1647 return result;
1737 cmd->result = DID_ERROR << 16;
1819 cmd->result &= ~0xffff;
1820 cmd->result |= cmd->SCp.Status;
1821 cmd->result |= cmd->SCp.Message << 8;
1974 cmd->result = DID_ERROR << 16;
2243 int result = SUCCESS;
2256 cmd->result = DID_ABORT << 16;
2265 cmd->result = DID_ABORT << 16;
2278 result = FAILED;
2289 result = FAILED;
2304 if (result == FAILED)
2315 return result;
2337 hostdata->selecting->result = DID_RESET << 16;
2396 scmd->result = DID_RESET << 16;