Lines Matching refs:sci_status
574 static enum sci_status sci_stp_pio_request_construct(struct isci_request *ireq, in sci_stp_pio_request_construct()
665 static enum sci_status
671 enum sci_status status = SCI_SUCCESS; in sci_io_request_construct_sata()
729 static enum sci_status sci_io_request_construct_basic_ssp(struct isci_request *ireq) in sci_io_request_construct_basic_ssp()
746 enum sci_status sci_task_request_construct_ssp( in sci_task_request_construct_ssp()
760 static enum sci_status sci_io_request_construct_basic_sata(struct isci_request *ireq) in sci_io_request_construct_basic_sata()
762 enum sci_status status; in sci_io_request_construct_basic_sata()
808 enum sci_status sci_request_start(struct isci_request *ireq) in sci_request_start()
857 enum sci_status
869 ireq->sci_status = SCI_FAILURE_IO_TERMINATED; in sci_io_request_terminate()
918 enum sci_status sci_request_complete(struct isci_request *ireq) in sci_request_complete()
938 enum sci_status sci_io_request_event_handler(struct isci_request *ireq, in sci_io_request_event_handler()
996 static enum sci_status
1009 ireq->sci_status = SCI_SUCCESS; in request_started_state_tc_event()
1028 ireq->sci_status = SCI_SUCCESS_IO_DONE_EARLY; in request_started_state_tc_event()
1031 ireq->sci_status = SCI_FAILURE_IO_RESPONSE_VALID; in request_started_state_tc_event()
1043 ireq->sci_status = SCI_FAILURE_IO_RESPONSE_VALID; in request_started_state_tc_event()
1057 ireq->sci_status = SCI_FAILURE_IO_RESPONSE_VALID; in request_started_state_tc_event()
1060 ireq->sci_status = SCI_SUCCESS; in request_started_state_tc_event()
1078 ireq->sci_status = SCI_FAILURE_REMOTE_DEVICE_RESET_REQUIRED; in request_started_state_tc_event()
1082 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in request_started_state_tc_event()
1099 ireq->sci_status = SCI_FAILURE_REMOTE_DEVICE_RESET_REQUIRED; in request_started_state_tc_event()
1121 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in request_started_state_tc_event()
1134 static enum sci_status
1142 ireq->sci_status = SCI_FAILURE_IO_TERMINATED; in request_aborting_state_tc_event()
1156 static enum sci_status ssp_task_request_await_tc_event(struct isci_request *ireq, in ssp_task_request_await_tc_event()
1162 ireq->sci_status = SCI_SUCCESS; in ssp_task_request_await_tc_event()
1185 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in ssp_task_request_await_tc_event()
1193 static enum sci_status
1204 ireq->sci_status = SCI_SUCCESS; in smp_request_await_response_tc_event()
1219 ireq->sci_status = SCI_FAILURE_RETRY_REQUIRED; in smp_request_await_response_tc_event()
1227 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in smp_request_await_response_tc_event()
1235 static enum sci_status
1242 ireq->sci_status = SCI_SUCCESS; in smp_request_await_tc_event()
1251 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in smp_request_await_tc_event()
1292 static enum sci_status
1299 ireq->sci_status = SCI_SUCCESS; in stp_request_non_data_await_h2d_tc_event()
1309 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in stp_request_non_data_await_h2d_tc_event()
1322 static enum sci_status sci_stp_request_pio_data_out_trasmit_data_frame( in sci_stp_request_pio_data_out_trasmit_data_frame()
1350 static enum sci_status sci_stp_request_pio_data_out_transmit_data(struct isci_request *ireq) in sci_stp_request_pio_data_out_transmit_data()
1354 enum sci_status status = SCI_SUCCESS; in sci_stp_request_pio_data_out_transmit_data()
1407 static enum sci_status
1452 static enum sci_status sci_stp_request_pio_data_in_copy_data( in sci_stp_request_pio_data_in_copy_data()
1456 enum sci_status status; in sci_stp_request_pio_data_in_copy_data()
1479 static enum sci_status
1483 enum sci_status status = SCI_SUCCESS; in stp_request_pio_await_h2d_completion_tc_event()
1488 ireq->sci_status = SCI_SUCCESS; in stp_request_pio_await_h2d_completion_tc_event()
1498 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in stp_request_pio_await_h2d_completion_tc_event()
1506 static enum sci_status
1510 enum sci_status status = SCI_SUCCESS; in pio_data_out_tx_done_tc_event()
1547 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in pio_data_out_tx_done_tc_event()
1555 static enum sci_status sci_stp_request_udma_general_frame_handler(struct isci_request *ireq, in sci_stp_request_udma_general_frame_handler()
1560 enum sci_status status; in sci_stp_request_udma_general_frame_handler()
1583 static enum sci_status process_unsolicited_fis(struct isci_request *ireq, in process_unsolicited_fis()
1587 enum sci_status status; in process_unsolicited_fis()
1619 static enum sci_status atapi_d2h_reg_frame_handler(struct isci_request *ireq, in atapi_d2h_reg_frame_handler()
1623 enum sci_status status; in atapi_d2h_reg_frame_handler()
1636 ireq->sci_status = status; in atapi_d2h_reg_frame_handler()
1639 ireq->sci_status = SCI_SUCCESS; in atapi_d2h_reg_frame_handler()
1705 enum sci_status
1712 enum sci_status status; in sci_io_request_frame_handler()
1743 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in sci_io_request_frame_handler()
1746 ireq->sci_status = SCI_SUCCESS; in sci_io_request_frame_handler()
1798 ireq->sci_status = SCI_SUCCESS; in sci_io_request_frame_handler()
1814 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in sci_io_request_frame_handler()
1836 ireq->sci_status = SCI_FAILURE_IO_RESPONSE_VALID; in sci_io_request_frame_handler()
1872 ireq->sci_status = SCI_FAILURE_IO_RESPONSE_VALID; in sci_io_request_frame_handler()
1882 ireq->sci_status = SCI_FAILURE_PROTOCOL_VIOLATION; in sci_io_request_frame_handler()
1980 ireq->sci_status = SCI_FAILURE_IO_RESPONSE_VALID; in sci_io_request_frame_handler()
2025 ireq->sci_status = SCI_FAILURE_IO_REQUIRES_SCSI_ABORT; in sci_io_request_frame_handler()
2056 ireq->sci_status = SCI_FAILURE_IO_RESPONSE_VALID; in sci_io_request_frame_handler()
2103 static enum sci_status stp_request_udma_await_tc_event(struct isci_request *ireq, in stp_request_udma_await_tc_event()
2106 enum sci_status status = SCI_SUCCESS; in stp_request_udma_await_tc_event()
2111 ireq->sci_status = SCI_SUCCESS; in stp_request_udma_await_tc_event()
2125 ireq->sci_status = SCI_FAILURE_IO_RESPONSE_VALID; in stp_request_udma_await_tc_event()
2146 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in stp_request_udma_await_tc_event()
2154 static enum sci_status atapi_raw_completion(struct isci_request *ireq, u32 completion_code, in atapi_raw_completion()
2157 enum sci_status status = SCI_SUCCESS; in atapi_raw_completion()
2162 ireq->sci_status = SCI_SUCCESS; in atapi_raw_completion()
2171 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in atapi_raw_completion()
2180 static enum sci_status atapi_data_tc_completion_handler(struct isci_request *ireq, in atapi_data_tc_completion_handler()
2185 enum sci_status status = SCI_SUCCESS; in atapi_data_tc_completion_handler()
2219 ireq->sci_status = SCI_SUCCESS_IO_DONE_EARLY; in atapi_data_tc_completion_handler()
2220 status = ireq->sci_status; in atapi_data_tc_completion_handler()
2233 ireq->sci_status = SCI_SUCCESS; in atapi_data_tc_completion_handler()
2240 status = ireq->sci_status; in atapi_data_tc_completion_handler()
2250 ireq->sci_status = SCI_FAILURE_IO_RESPONSE_VALID; in atapi_data_tc_completion_handler()
2392 enum sci_status
3008 ireq->sci_status); in sci_request_completed_state_enter()
3010 isci_task_request_complete(ihost, ireq, ireq->sci_status); in sci_request_completed_state_enter()
3081 ireq->sci_status = SCI_SUCCESS; in sci_general_request_construct()
3086 static enum sci_status
3092 enum sci_status status = SCI_SUCCESS; in sci_io_request_construct()
3114 enum sci_status sci_task_request_construct(struct isci_host *ihost, in sci_task_request_construct()
3119 enum sci_status status = SCI_SUCCESS; in sci_task_request_construct()
3139 static enum sci_status isci_request_ssp_request_construct( in isci_request_ssp_request_construct()
3142 enum sci_status status; in isci_request_ssp_request_construct()
3152 static enum sci_status isci_request_stp_request_construct(struct isci_request *ireq) in isci_request_stp_request_construct()
3157 enum sci_status status; in isci_request_stp_request_construct()
3183 static enum sci_status
3314 static enum sci_status isci_smp_request_build(struct isci_request *ireq) in isci_smp_request_build()
3318 enum sci_status status = SCI_FAILURE; in isci_smp_request_build()
3340 static enum sci_status isci_io_request_build(struct isci_host *ihost, in isci_io_request_build()
3344 enum sci_status status = SCI_SUCCESS; in isci_io_request_build()
3447 enum sci_status status; in isci_request_execute()