Lines Matching refs:result
193 req->header.result = cpu_to_le32(IOP_RESULT_SUCCESS);
244 req->header.result = IOP_RESULT_SUCCESS;
416 writel(IOP_RESULT_PENDING, &req->header.result);
437 req->header.result = cpu_to_le32(IOP_RESULT_PENDING);
493 writel(IOP_RESULT_PENDING, &req->header.result);
514 req->header.result = cpu_to_le32(IOP_RESULT_PENDING);
537 req->header.result = cpu_to_le32(IOP_RESULT_PENDING);
722 "result=%d, context=0x%x tag=%d\n",
723 req, req->header.type, req->header.result,
726 BUG_ON(!req->header.result);
734 switch (le32_to_cpu(req->header.result)) {
738 scp->result = (DID_OK<<16);
741 scp->result = (DID_BAD_TARGET<<16);
744 scp->result = (DID_BUS_BUSY<<16);
747 scp->result = (DID_RESET<<16);
750 scp->result = (DID_ERROR<<16);
753 scp->result = (DID_ABORT<<16);
758 scp->result = SAM_STAT_CHECK_CONDITION;
764 scp->result = DRIVER_INVALID << 24 | DID_ABORT << 16;
786 req->header.result = cpu_to_le32(IOP_RESULT_SUCCESS);
804 "result=%d, context=0x%x tag=%d\n",
805 req, readl(&req->type), readl(&req->result),
808 BUG_ON(!readl(&req->result));
816 if (readl(&req->result) == IOP_RESULT_SUCCESS) {
817 arg->result = HPT_IOCTL_RESULT_OK;
828 arg->result = HPT_IOCTL_RESULT_FAILED;
1028 scp->result = 0;
1033 scp->result = DID_BAD_TARGET << 16;
1047 req->header.result = cpu_to_le32(IOP_RESULT_PENDING);