Lines Matching refs:result
572 cmd->result = (DID_ERROR << 16);
578 cmd->result = 0;
629 * need autosense because of a CHECK CONDITION result.
962 * cmd->result host byte set to DID_BAD_TARGET.
1155 cmd->result = DID_BAD_TARGET << 16;
1204 cmd->result = DID_ERROR << 16;
1492 int result = 0;
1525 result = NCR5380_dma_recv_setup(hostdata, d, c);
1527 result = NCR5380_dma_send_setup(hostdata, d, c);
1559 result = NCR5380_dma_recv_setup(hostdata, d, c);
1561 result = NCR5380_dma_send_setup(hostdata, d, c);
1565 if (result < 0)
1566 return result;
1568 /* For real DMA, result is the byte count. DMA interrupt is expected. */
1569 if (result > 0) {
1570 hostdata->dma_len = result;
1574 /* The result is zero iff pseudo DMA send/receive was completed. */
1630 result = -1;
1635 result = -1;
1647 result = -1;
1654 return result;
1744 cmd->result = DID_ERROR << 16;
1981 cmd->result = DID_ERROR << 16;
2249 int result = SUCCESS;
2262 cmd->result = DID_ABORT << 16;
2271 cmd->result = DID_ABORT << 16;
2284 result = FAILED;
2295 result = FAILED;
2310 if (result == FAILED)
2320 return result;
2342 hostdata->selecting->result = DID_RESET << 16;
2400 scmd->result = DID_RESET << 16;