Lines Matching refs:status

126 	enum sci_status status  = SCI_SUCCESS;
135 status = s;
137 return status;
191 enum sci_status status = SCI_SUCCESS;
201 status = SCI_FAILURE;
284 return status;
446 enum sci_status status;
472 status = sci_unsolicited_frame_control_get_header(&ihost->uf_control,
475 if (status != SCI_SUCCESS)
476 return status;
484 status = sci_io_request_frame_handler(ireq, frame_index);
496 status = sci_unsolicited_frame_control_get_header(&ihost->uf_control,
499 if (status != SCI_SUCCESS)
500 return status;
503 (hdr->status & ATA_ERR)) {
509 (hdr->status & ATA_ERR)) {
517 status = SCI_FAILURE;
528 status = sci_io_request_frame_handler(idev->working_request, frame_index);
532 return status;
571 enum sci_status status;
579 status = sci_remote_node_context_event_handler(&idev->rnc, event_code);
583 status = SCI_SUCCESS;
605 status = SCI_FAILURE_INVALID_STATE;
609 if (status != SCI_SUCCESS)
610 return status;
633 status = sci_remote_node_context_resume(&idev->rnc, NULL, NULL);
636 return status;
641 enum sci_status status)
646 if (status != SCI_SUCCESS)
661 enum sci_status status;
682 status = sci_port_start_io(iport, idev, ireq);
683 if (status != SCI_SUCCESS)
684 return status;
686 status = sci_remote_node_context_start_io(&idev->rnc, ireq);
687 if (status != SCI_SUCCESS)
690 status = sci_request_start(ireq);
704 status = sci_port_start_io(iport, idev, ireq);
705 if (status != SCI_SUCCESS)
706 return status;
708 status = sci_remote_node_context_start_io(&idev->rnc, ireq);
709 if (status != SCI_SUCCESS)
712 status = sci_request_start(ireq);
713 if (status != SCI_SUCCESS)
729 status = sci_port_start_io(iport, idev, ireq);
730 if (status != SCI_SUCCESS)
731 return status;
733 status = sci_remote_node_context_start_io(&idev->rnc, ireq);
734 if (status != SCI_SUCCESS)
737 status = sci_request_start(ireq);
745 status = sci_port_start_io(iport, idev, ireq);
746 if (status != SCI_SUCCESS)
747 return status;
749 status = sci_remote_node_context_start_io(&idev->rnc, ireq);
750 if (status != SCI_SUCCESS)
753 status = sci_request_start(ireq);
754 if (status != SCI_SUCCESS)
768 sci_remote_device_start_request(idev, ireq, status);
769 return status;
776 enum sci_status status;
778 status = sci_request_complete(ireq);
779 if (status != SCI_SUCCESS)
780 return status;
782 status = sci_port_complete_io(iport, idev, ireq);
783 if (status != SCI_SUCCESS)
784 return status;
787 return status;
797 enum sci_status status;
814 status = common_complete_io(iport, idev, ireq);
820 status = common_complete_io(iport, idev, ireq);
821 if (status != SCI_SUCCESS)
828 * status of "DEVICE_RESET_REQUIRED", instead of "INVALID STATE".
835 status = common_complete_io(iport, idev, ireq);
836 if (status != SCI_SUCCESS)
841 status = common_complete_io(iport, idev, ireq);
842 if (status != SCI_SUCCESS)
852 if (status != SCI_SUCCESS)
856 idev, ireq, status);
860 return status;
879 enum sci_status status;
900 status = sci_port_start_io(iport, idev, ireq);
901 if (status != SCI_SUCCESS)
902 return status;
904 status = sci_request_start(ireq);
905 if (status != SCI_SUCCESS)
925 status = sci_remote_node_context_start_task(&idev->rnc, ireq,
929 sci_remote_device_start_request(idev, ireq, status);
936 status = sci_port_start_io(iport, idev, ireq);
937 if (status != SCI_SUCCESS)
938 return status;
941 status = sci_remote_node_context_start_task(&idev->rnc, ireq,
943 if (status != SCI_SUCCESS)
946 status = sci_request_start(ireq);
949 sci_remote_device_start_request(idev, ireq, status);
951 return status;
1277 enum sci_status status;
1286 status = sci_controller_allocate_remote_node_context(iport->owning_controller,
1290 if (status != SCI_SUCCESS)
1291 return status;
1314 enum sci_status status;
1318 status = sci_controller_allocate_remote_node_context(iport->owning_controller,
1321 if (status != SCI_SUCCESS)
1322 return status;
1345 enum sci_status status;
1347 status = sci_remote_node_context_resume(&idev->rnc, cb_fn, cb_p);
1348 if (status != SCI_SUCCESS)
1350 __func__, status);
1351 return status;
1414 enum sci_status status = SCI_SUCCESS;
1427 status = sci_remote_device_resume(
1431 if (!destroyed && (status == SCI_SUCCESS))
1436 return status;
1457 enum sci_status status;
1465 status = sci_remote_device_resume(idev, remote_device_resume_done,
1467 if (status != SCI_SUCCESS)
1468 return status;
1480 enum sci_status status;
1483 status = sci_remote_device_ea_construct(iport, idev);
1485 status = sci_remote_device_da_construct(iport, idev);
1487 if (status != SCI_SUCCESS) {
1489 __func__, status);
1491 return status;
1495 status = sci_remote_device_start(idev, ISCI_REMOTE_DEVICE_START_TIMEOUT);
1497 if (status != SCI_SUCCESS)
1499 status);
1501 return status;
1557 * The status of the ihost request to stop.
1561 enum sci_status status;
1572 status = sci_remote_device_stop(idev, 50);
1576 if (WARN_ONCE(status != SCI_SUCCESS, "failed to stop device\n"))
1584 return status;
1612 * status, zero indicates success.
1619 enum sci_status status;
1640 status = isci_remote_device_construct(isci_port, isci_device);
1646 if (status == SCI_SUCCESS) {
1656 return status == SCI_SUCCESS ? 0 : -ENODEV;
1665 enum sci_status status;
1674 status = isci_remote_device_terminate_requests(ihost, idev, ireq);
1675 if (status != SCI_SUCCESS)
1679 __func__, idev, status);
1682 return status;
1702 enum sci_status status;
1705 status = sci_remote_device_reset_complete(idev);
1708 return status;