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;
763 scp->result = DID_ABORT << 16;
785 req->header.result = cpu_to_le32(IOP_RESULT_SUCCESS);
803 "result=%d, context=0x%x tag=%d\n",
804 req, readl(&req->type), readl(&req->result),
807 BUG_ON(!readl(&req->result));
815 if (readl(&req->result) == IOP_RESULT_SUCCESS) {
816 arg->result = HPT_IOCTL_RESULT_OK;
827 arg->result = HPT_IOCTL_RESULT_FAILED;
1023 scp->result = 0;
1028 scp->result = DID_BAD_TARGET << 16;
1042 req->header.result = cpu_to_le32(IOP_RESULT_PENDING);