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()
752 static enum sci_status sci_io_request_construct_basic_sata(struct isci_request *ireq) in sci_io_request_construct_basic_sata()
754 enum sci_status status; in sci_io_request_construct_basic_sata()
800 enum sci_status sci_request_start(struct isci_request *ireq) in sci_request_start()
849 enum sci_status
861 ireq->sci_status = SCI_FAILURE_IO_TERMINATED; in sci_io_request_terminate()
910 enum sci_status sci_request_complete(struct isci_request *ireq) in sci_request_complete()
930 enum sci_status sci_io_request_event_handler(struct isci_request *ireq, in sci_io_request_event_handler()
988 static enum sci_status
1001 ireq->sci_status = SCI_SUCCESS; in request_started_state_tc_event()
1020 ireq->sci_status = SCI_SUCCESS_IO_DONE_EARLY; in request_started_state_tc_event()
1023 ireq->sci_status = SCI_FAILURE_IO_RESPONSE_VALID; in request_started_state_tc_event()
1035 ireq->sci_status = SCI_FAILURE_IO_RESPONSE_VALID; in request_started_state_tc_event()
1050 ireq->sci_status = SCI_FAILURE_IO_RESPONSE_VALID; in request_started_state_tc_event()
1053 ireq->sci_status = SCI_SUCCESS; in request_started_state_tc_event()
1071 ireq->sci_status = SCI_FAILURE_REMOTE_DEVICE_RESET_REQUIRED; in request_started_state_tc_event()
1075 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in request_started_state_tc_event()
1092 ireq->sci_status = SCI_FAILURE_REMOTE_DEVICE_RESET_REQUIRED; in request_started_state_tc_event()
1114 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in request_started_state_tc_event()
1127 static enum sci_status
1135 ireq->sci_status = SCI_FAILURE_IO_TERMINATED; in request_aborting_state_tc_event()
1149 static enum sci_status ssp_task_request_await_tc_event(struct isci_request *ireq, in ssp_task_request_await_tc_event()
1155 ireq->sci_status = SCI_SUCCESS; in ssp_task_request_await_tc_event()
1178 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in ssp_task_request_await_tc_event()
1186 static enum sci_status
1197 ireq->sci_status = SCI_SUCCESS; in smp_request_await_response_tc_event()
1212 ireq->sci_status = SCI_FAILURE_RETRY_REQUIRED; in smp_request_await_response_tc_event()
1220 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in smp_request_await_response_tc_event()
1228 static enum sci_status
1235 ireq->sci_status = SCI_SUCCESS; in smp_request_await_tc_event()
1244 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in smp_request_await_tc_event()
1285 static enum sci_status
1292 ireq->sci_status = SCI_SUCCESS; in stp_request_non_data_await_h2d_tc_event()
1302 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in stp_request_non_data_await_h2d_tc_event()
1315 static enum sci_status sci_stp_request_pio_data_out_trasmit_data_frame( in sci_stp_request_pio_data_out_trasmit_data_frame()
1343 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()
1347 enum sci_status status = SCI_SUCCESS; in sci_stp_request_pio_data_out_transmit_data()
1400 static enum sci_status
1445 static enum sci_status sci_stp_request_pio_data_in_copy_data( in sci_stp_request_pio_data_in_copy_data()
1449 enum sci_status status; in sci_stp_request_pio_data_in_copy_data()
1472 static enum sci_status
1479 ireq->sci_status = SCI_SUCCESS; in stp_request_pio_await_h2d_completion_tc_event()
1489 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in stp_request_pio_await_h2d_completion_tc_event()
1497 static enum sci_status
1501 enum sci_status status = SCI_SUCCESS; in pio_data_out_tx_done_tc_event()
1538 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in pio_data_out_tx_done_tc_event()
1546 static enum sci_status sci_stp_request_udma_general_frame_handler(struct isci_request *ireq, in sci_stp_request_udma_general_frame_handler()
1551 enum sci_status status; in sci_stp_request_udma_general_frame_handler()
1574 static enum sci_status process_unsolicited_fis(struct isci_request *ireq, in process_unsolicited_fis()
1578 enum sci_status status; in process_unsolicited_fis()
1610 static enum sci_status atapi_d2h_reg_frame_handler(struct isci_request *ireq, in atapi_d2h_reg_frame_handler()
1614 enum sci_status status; in atapi_d2h_reg_frame_handler()
1627 ireq->sci_status = status; in atapi_d2h_reg_frame_handler()
1630 ireq->sci_status = SCI_SUCCESS; in atapi_d2h_reg_frame_handler()
1696 enum sci_status
1703 enum sci_status status; in sci_io_request_frame_handler()
1734 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in sci_io_request_frame_handler()
1737 ireq->sci_status = SCI_SUCCESS; in sci_io_request_frame_handler()
1789 ireq->sci_status = SCI_SUCCESS; in sci_io_request_frame_handler()
1805 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in sci_io_request_frame_handler()
1827 ireq->sci_status = SCI_FAILURE_IO_RESPONSE_VALID; in sci_io_request_frame_handler()
1863 ireq->sci_status = SCI_FAILURE_IO_RESPONSE_VALID; in sci_io_request_frame_handler()
1873 ireq->sci_status = SCI_FAILURE_PROTOCOL_VIOLATION; in sci_io_request_frame_handler()
1971 ireq->sci_status = SCI_FAILURE_IO_RESPONSE_VALID; in sci_io_request_frame_handler()
2016 ireq->sci_status = SCI_FAILURE_IO_REQUIRES_SCSI_ABORT; in sci_io_request_frame_handler()
2047 ireq->sci_status = SCI_FAILURE_IO_RESPONSE_VALID; in sci_io_request_frame_handler()
2094 static enum sci_status stp_request_udma_await_tc_event(struct isci_request *ireq, in stp_request_udma_await_tc_event()
2100 ireq->sci_status = SCI_SUCCESS; in stp_request_udma_await_tc_event()
2114 ireq->sci_status = SCI_FAILURE_IO_RESPONSE_VALID; in stp_request_udma_await_tc_event()
2135 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in stp_request_udma_await_tc_event()
2143 static enum sci_status atapi_raw_completion(struct isci_request *ireq, u32 completion_code, in atapi_raw_completion()
2149 ireq->sci_status = SCI_SUCCESS; in atapi_raw_completion()
2158 ireq->sci_status = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR; in atapi_raw_completion()
2167 static enum sci_status atapi_data_tc_completion_handler(struct isci_request *ireq, in atapi_data_tc_completion_handler()
2172 enum sci_status status = SCI_SUCCESS; in atapi_data_tc_completion_handler()
2206 ireq->sci_status = SCI_SUCCESS_IO_DONE_EARLY; in atapi_data_tc_completion_handler()
2207 status = ireq->sci_status; in atapi_data_tc_completion_handler()
2220 ireq->sci_status = SCI_SUCCESS; in atapi_data_tc_completion_handler()
2227 status = ireq->sci_status; in atapi_data_tc_completion_handler()
2237 ireq->sci_status = SCI_FAILURE_IO_RESPONSE_VALID; in atapi_data_tc_completion_handler()
2379 enum sci_status
2997 ireq->sci_status); in sci_request_completed_state_enter()
2999 isci_task_request_complete(ihost, ireq, ireq->sci_status); in sci_request_completed_state_enter()
3070 ireq->sci_status = SCI_SUCCESS; in sci_general_request_construct()
3075 static enum sci_status
3081 enum sci_status status = SCI_SUCCESS; in sci_io_request_construct()
3103 enum sci_status sci_task_request_construct(struct isci_host *ihost, in sci_task_request_construct()
3108 enum sci_status status = SCI_SUCCESS; in sci_task_request_construct()
3128 static enum sci_status isci_request_ssp_request_construct( in isci_request_ssp_request_construct()
3131 enum sci_status status; in isci_request_ssp_request_construct()
3141 static enum sci_status isci_request_stp_request_construct(struct isci_request *ireq) in isci_request_stp_request_construct()
3146 enum sci_status status; in isci_request_stp_request_construct()
3172 static enum sci_status
3303 static enum sci_status isci_smp_request_build(struct isci_request *ireq) in isci_smp_request_build()
3307 enum sci_status status = SCI_FAILURE; in isci_smp_request_build()
3329 static enum sci_status isci_io_request_build(struct isci_host *ihost, in isci_io_request_build()
3333 enum sci_status status = SCI_SUCCESS; in isci_io_request_build()
3436 enum sci_status status; in isci_request_execute()