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;
445 enum sci_status status;
471 status = sci_unsolicited_frame_control_get_header(&ihost->uf_control,
474 if (status != SCI_SUCCESS)
475 return status;
483 status = sci_io_request_frame_handler(ireq, frame_index);
495 status = sci_unsolicited_frame_control_get_header(&ihost->uf_control,
498 if (status != SCI_SUCCESS)
499 return status;
502 (hdr->status & ATA_ERR)) {
508 (hdr->status & ATA_ERR)) {
516 status = SCI_FAILURE;
527 status = sci_io_request_frame_handler(idev->working_request, frame_index);
531 return status;
570 enum sci_status status;
578 status = sci_remote_node_context_event_handler(&idev->rnc, event_code);
582 status = SCI_SUCCESS;
604 status = SCI_FAILURE_INVALID_STATE;
608 if (status != SCI_SUCCESS)
609 return status;
632 status = sci_remote_node_context_resume(&idev->rnc, NULL, NULL);
635 return status;
640 enum sci_status status)
645 if (status != SCI_SUCCESS)
660 enum sci_status status;
681 status = sci_port_start_io(iport, idev, ireq);
682 if (status != SCI_SUCCESS)
683 return status;
685 status = sci_remote_node_context_start_io(&idev->rnc, ireq);
686 if (status != SCI_SUCCESS)
689 status = sci_request_start(ireq);
703 status = sci_port_start_io(iport, idev, ireq);
704 if (status != SCI_SUCCESS)
705 return status;
707 status = sci_remote_node_context_start_io(&idev->rnc, ireq);
708 if (status != SCI_SUCCESS)
711 status = sci_request_start(ireq);
712 if (status != SCI_SUCCESS)
728 status = sci_port_start_io(iport, idev, ireq);
729 if (status != SCI_SUCCESS)
730 return status;
732 status = sci_remote_node_context_start_io(&idev->rnc, ireq);
733 if (status != SCI_SUCCESS)
736 status = sci_request_start(ireq);
744 status = sci_port_start_io(iport, idev, ireq);
745 if (status != SCI_SUCCESS)
746 return status;
748 status = sci_remote_node_context_start_io(&idev->rnc, ireq);
749 if (status != SCI_SUCCESS)
752 status = sci_request_start(ireq);
753 if (status != SCI_SUCCESS)
767 sci_remote_device_start_request(idev, ireq, status);
768 return status;
775 enum sci_status status;
777 status = sci_request_complete(ireq);
778 if (status != SCI_SUCCESS)
779 return status;
781 status = sci_port_complete_io(iport, idev, ireq);
782 if (status != SCI_SUCCESS)
783 return status;
786 return status;
796 enum sci_status status;
813 status = common_complete_io(iport, idev, ireq);
819 status = common_complete_io(iport, idev, ireq);
820 if (status != SCI_SUCCESS)
827 * status of "DEVICE_RESET_REQUIRED", instead of "INVALID STATE".
834 status = common_complete_io(iport, idev, ireq);
835 if (status != SCI_SUCCESS)
840 status = common_complete_io(iport, idev, ireq);
841 if (status != SCI_SUCCESS)
851 if (status != SCI_SUCCESS)
855 idev, ireq, status);
859 return status;
878 enum sci_status status;
899 status = sci_port_start_io(iport, idev, ireq);
900 if (status != SCI_SUCCESS)
901 return status;
903 status = sci_request_start(ireq);
904 if (status != SCI_SUCCESS)
924 status = sci_remote_node_context_start_task(&idev->rnc, ireq,
928 sci_remote_device_start_request(idev, ireq, status);
935 status = sci_port_start_io(iport, idev, ireq);
936 if (status != SCI_SUCCESS)
937 return status;
940 status = sci_remote_node_context_start_task(&idev->rnc, ireq,
942 if (status != SCI_SUCCESS)
945 status = sci_request_start(ireq);
948 sci_remote_device_start_request(idev, ireq, status);
950 return status;
1276 enum sci_status status;
1285 status = sci_controller_allocate_remote_node_context(iport->owning_controller,
1289 if (status != SCI_SUCCESS)
1290 return status;
1313 enum sci_status status;
1317 status = sci_controller_allocate_remote_node_context(iport->owning_controller,
1320 if (status != SCI_SUCCESS)
1321 return status;
1344 enum sci_status status;
1346 status = sci_remote_node_context_resume(&idev->rnc, cb_fn, cb_p);
1347 if (status != SCI_SUCCESS)
1349 __func__, status);
1350 return status;
1413 enum sci_status status = SCI_SUCCESS;
1426 status = sci_remote_device_resume(
1430 if (!destroyed && (status == SCI_SUCCESS))
1435 return status;
1456 enum sci_status status;
1464 status = sci_remote_device_resume(idev, remote_device_resume_done,
1466 if (status != SCI_SUCCESS)
1467 return status;
1479 enum sci_status status;
1482 status = sci_remote_device_ea_construct(iport, idev);
1484 status = sci_remote_device_da_construct(iport, idev);
1486 if (status != SCI_SUCCESS) {
1488 __func__, status);
1490 return status;
1494 status = sci_remote_device_start(idev, ISCI_REMOTE_DEVICE_START_TIMEOUT);
1496 if (status != SCI_SUCCESS)
1498 status);
1500 return status;
1555 * The status of the ihost request to stop.
1559 enum sci_status status;
1570 status = sci_remote_device_stop(idev, 50);
1574 if (WARN_ONCE(status != SCI_SUCCESS, "failed to stop device\n"))
1582 return status;
1611 * status, zero indicates success.
1618 enum sci_status status;
1639 status = isci_remote_device_construct(isci_port, isci_device);
1645 if (status == SCI_SUCCESS) {
1655 return status == SCI_SUCCESS ? 0 : -ENODEV;
1664 enum sci_status status;
1673 status = isci_remote_device_terminate_requests(ihost, idev, ireq);
1674 if (status != SCI_SUCCESS)
1678 __func__, idev, status);
1681 return status;
1701 enum sci_status status;
1704 status = sci_remote_device_reset_complete(idev);
1707 return status;