Lines Matching refs:sci_status

569 static enum sci_status sci_stp_pio_request_construct(struct isci_request *ireq,  in sci_stp_pio_request_construct()
660 static enum sci_status
666 enum sci_status status = SCI_SUCCESS; in sci_io_request_construct_sata()
724 static enum sci_status sci_io_request_construct_basic_ssp(struct isci_request *ireq) in sci_io_request_construct_basic_ssp()
741 enum sci_status sci_task_request_construct_ssp( in sci_task_request_construct_ssp()
755 static enum sci_status sci_io_request_construct_basic_sata(struct isci_request *ireq) in sci_io_request_construct_basic_sata()
757 enum sci_status status; in sci_io_request_construct_basic_sata()
803 enum sci_status sci_request_start(struct isci_request *ireq) in sci_request_start()
852 enum sci_status
864 ireq->sci_status = SCI_FAILURE_IO_TERMINATED; in sci_io_request_terminate()
913 enum sci_status sci_request_complete(struct isci_request *ireq) in sci_request_complete()
933 enum sci_status sci_io_request_event_handler(struct isci_request *ireq, in sci_io_request_event_handler()
991 static enum sci_status
1004 ireq->sci_status = SCI_SUCCESS; in request_started_state_tc_event()
1023 ireq->sci_status = SCI_SUCCESS_IO_DONE_EARLY; in request_started_state_tc_event()
1026 ireq->sci_status = SCI_FAILURE_IO_RESPONSE_VALID; in request_started_state_tc_event()
1038 ireq->sci_status = SCI_FAILURE_IO_RESPONSE_VALID; in request_started_state_tc_event()
1053 ireq->sci_status = SCI_FAILURE_IO_RESPONSE_VALID; in request_started_state_tc_event()
1056 ireq->sci_status = SCI_SUCCESS; in request_started_state_tc_event()
1074 ireq->sci_status = SCI_FAILURE_REMOTE_DEVICE_RESET_REQUIRED; in request_started_state_tc_event()
1078 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in request_started_state_tc_event()
1095 ireq->sci_status = SCI_FAILURE_REMOTE_DEVICE_RESET_REQUIRED; in request_started_state_tc_event()
1117 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in request_started_state_tc_event()
1130 static enum sci_status
1138 ireq->sci_status = SCI_FAILURE_IO_TERMINATED; in request_aborting_state_tc_event()
1152 static enum sci_status ssp_task_request_await_tc_event(struct isci_request *ireq, in ssp_task_request_await_tc_event()
1158 ireq->sci_status = SCI_SUCCESS; in ssp_task_request_await_tc_event()
1181 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in ssp_task_request_await_tc_event()
1189 static enum sci_status
1200 ireq->sci_status = SCI_SUCCESS; in smp_request_await_response_tc_event()
1215 ireq->sci_status = SCI_FAILURE_RETRY_REQUIRED; in smp_request_await_response_tc_event()
1223 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in smp_request_await_response_tc_event()
1231 static enum sci_status
1238 ireq->sci_status = SCI_SUCCESS; in smp_request_await_tc_event()
1247 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in smp_request_await_tc_event()
1288 static enum sci_status
1295 ireq->sci_status = SCI_SUCCESS; in stp_request_non_data_await_h2d_tc_event()
1305 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in stp_request_non_data_await_h2d_tc_event()
1318 static enum sci_status sci_stp_request_pio_data_out_trasmit_data_frame( in sci_stp_request_pio_data_out_trasmit_data_frame()
1346 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()
1350 enum sci_status status = SCI_SUCCESS; in sci_stp_request_pio_data_out_transmit_data()
1403 static enum sci_status
1448 static enum sci_status sci_stp_request_pio_data_in_copy_data( in sci_stp_request_pio_data_in_copy_data()
1452 enum sci_status status; in sci_stp_request_pio_data_in_copy_data()
1475 static enum sci_status
1482 ireq->sci_status = SCI_SUCCESS; in stp_request_pio_await_h2d_completion_tc_event()
1492 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in stp_request_pio_await_h2d_completion_tc_event()
1500 static enum sci_status
1504 enum sci_status status = SCI_SUCCESS; in pio_data_out_tx_done_tc_event()
1541 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in pio_data_out_tx_done_tc_event()
1549 static enum sci_status sci_stp_request_udma_general_frame_handler(struct isci_request *ireq, in sci_stp_request_udma_general_frame_handler()
1554 enum sci_status status; in sci_stp_request_udma_general_frame_handler()
1577 static enum sci_status process_unsolicited_fis(struct isci_request *ireq, in process_unsolicited_fis()
1581 enum sci_status status; in process_unsolicited_fis()
1613 static enum sci_status atapi_d2h_reg_frame_handler(struct isci_request *ireq, in atapi_d2h_reg_frame_handler()
1617 enum sci_status status; in atapi_d2h_reg_frame_handler()
1630 ireq->sci_status = status; in atapi_d2h_reg_frame_handler()
1633 ireq->sci_status = SCI_SUCCESS; in atapi_d2h_reg_frame_handler()
1699 enum sci_status
1706 enum sci_status status; in sci_io_request_frame_handler()
1737 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in sci_io_request_frame_handler()
1740 ireq->sci_status = SCI_SUCCESS; in sci_io_request_frame_handler()
1792 ireq->sci_status = SCI_SUCCESS; in sci_io_request_frame_handler()
1808 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in sci_io_request_frame_handler()
1830 ireq->sci_status = SCI_FAILURE_IO_RESPONSE_VALID; in sci_io_request_frame_handler()
1866 ireq->sci_status = SCI_FAILURE_IO_RESPONSE_VALID; in sci_io_request_frame_handler()
1876 ireq->sci_status = SCI_FAILURE_PROTOCOL_VIOLATION; in sci_io_request_frame_handler()
1974 ireq->sci_status = SCI_FAILURE_IO_RESPONSE_VALID; in sci_io_request_frame_handler()
2019 ireq->sci_status = SCI_FAILURE_IO_REQUIRES_SCSI_ABORT; in sci_io_request_frame_handler()
2050 ireq->sci_status = SCI_FAILURE_IO_RESPONSE_VALID; in sci_io_request_frame_handler()
2097 static enum sci_status stp_request_udma_await_tc_event(struct isci_request *ireq, in stp_request_udma_await_tc_event()
2103 ireq->sci_status = SCI_SUCCESS; in stp_request_udma_await_tc_event()
2117 ireq->sci_status = SCI_FAILURE_IO_RESPONSE_VALID; in stp_request_udma_await_tc_event()
2138 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in stp_request_udma_await_tc_event()
2146 static enum sci_status atapi_raw_completion(struct isci_request *ireq, u32 completion_code, in atapi_raw_completion()
2152 ireq->sci_status = SCI_SUCCESS; in atapi_raw_completion()
2161 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in atapi_raw_completion()
2170 static enum sci_status atapi_data_tc_completion_handler(struct isci_request *ireq, in atapi_data_tc_completion_handler()
2175 enum sci_status status = SCI_SUCCESS; in atapi_data_tc_completion_handler()
2209 ireq->sci_status = SCI_SUCCESS_IO_DONE_EARLY; in atapi_data_tc_completion_handler()
2210 status = ireq->sci_status; in atapi_data_tc_completion_handler()
2223 ireq->sci_status = SCI_SUCCESS; in atapi_data_tc_completion_handler()
2230 status = ireq->sci_status; in atapi_data_tc_completion_handler()
2240 ireq->sci_status = SCI_FAILURE_IO_RESPONSE_VALID; in atapi_data_tc_completion_handler()
2382 enum sci_status
3000 ireq->sci_status); in sci_request_completed_state_enter()
3002 isci_task_request_complete(ihost, ireq, ireq->sci_status); in sci_request_completed_state_enter()
3073 ireq->sci_status = SCI_SUCCESS; in sci_general_request_construct()
3078 static enum sci_status
3084 enum sci_status status = SCI_SUCCESS; in sci_io_request_construct()
3106 enum sci_status sci_task_request_construct(struct isci_host *ihost, in sci_task_request_construct()
3111 enum sci_status status = SCI_SUCCESS; in sci_task_request_construct()
3131 static enum sci_status isci_request_ssp_request_construct( in isci_request_ssp_request_construct()
3134 enum sci_status status; in isci_request_ssp_request_construct()
3144 static enum sci_status isci_request_stp_request_construct(struct isci_request *ireq) in isci_request_stp_request_construct()
3149 enum sci_status status; in isci_request_stp_request_construct()
3175 static enum sci_status
3306 static enum sci_status isci_smp_request_build(struct isci_request *ireq) in isci_smp_request_build()
3310 enum sci_status status = SCI_FAILURE; in isci_smp_request_build()
3332 static enum sci_status isci_io_request_build(struct isci_host *ihost, in isci_io_request_build()
3336 enum sci_status status = SCI_SUCCESS; in isci_io_request_build()
3439 enum sci_status status; in isci_request_execute()