Lines Matching refs:ioc_status
297 u16 ioc_status; member
515 u32 ioc_status; in _scsih_get_sas_address() local
526 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & MPI2_IOCSTATUS_MASK; in _scsih_get_sas_address()
527 if (ioc_status == MPI2_IOCSTATUS_SUCCESS) { in _scsih_get_sas_address()
541 if (ioc_status == MPI2_IOCSTATUS_CONFIG_INVALID_PAGE) in _scsih_get_sas_address()
546 handle, ioc_status, __FILE__, __LINE__, __func__); in _scsih_get_sas_address()
2176 u32 ioc_status; in _scsih_display_sata_capabilities() local
2187 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_display_sata_capabilities()
2189 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { in _scsih_display_sata_capabilities()
5091 _scsih_eedp_error_handling(struct scsi_cmnd *scmd, u16 ioc_status) in _scsih_eedp_error_handling() argument
5095 switch (ioc_status) { in _scsih_eedp_error_handling()
5326 u16 ioc_status = le16_to_cpu(mpi_reply->IOCStatus) & in _scsih_scsi_ioc_info() local
5350 switch (ioc_status) { in _scsih_scsi_ioc_info()
5498 desc_ioc_state, ioc_status, smid); in _scsih_scsi_ioc_info()
5712 u16 ioc_status; in _scsih_io_done() local
5741 ioc_status = le16_to_cpu(mpi_reply->IOCStatus); in _scsih_io_done()
5749 ((ioc_status & MPI2_IOCSTATUS_MASK) in _scsih_io_done()
5779 if (ioc_status & MPI2_IOCSTATUS_FLAG_LOG_INFO_AVAILABLE) in _scsih_io_done()
5783 ioc_status &= MPI2_IOCSTATUS_MASK; in _scsih_io_done()
5786 if (ioc_status == MPI2_IOCSTATUS_SCSI_DATA_UNDERRUN && xfer_cnt == 0 && in _scsih_io_done()
5790 ioc_status = MPI2_IOCSTATUS_SUCCESS; in _scsih_io_done()
5813 switch (ioc_status) { in _scsih_io_done()
5903 _scsih_eedp_error_handling(scmd, ioc_status); in _scsih_io_done()
5942 u16 sz, ioc_status; in _scsih_update_vphys_after_reset() local
5981 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & MPI2_IOCSTATUS_MASK; in _scsih_update_vphys_after_reset()
5982 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) in _scsih_update_vphys_after_reset()
6141 u16 sz, ioc_status; in _scsih_get_port_table_after_reset() local
6161 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & MPI2_IOCSTATUS_MASK; in _scsih_get_port_table_after_reset()
6162 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) in _scsih_get_port_table_after_reset()
6570 u16 ioc_status; in _scsih_sas_host_refresh() local
6595 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & MPI2_IOCSTATUS_MASK; in _scsih_sas_host_refresh()
6596 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) in _scsih_sas_host_refresh()
6653 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_sas_host_refresh()
6655 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { in _scsih_sas_host_refresh()
6710 u16 ioc_status; in _scsih_sas_host_add() local
6749 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_sas_host_add()
6751 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { in _scsih_sas_host_add()
6772 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_sas_host_add()
6774 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { in _scsih_sas_host_add()
6799 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_sas_host_add()
6801 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { in _scsih_sas_host_add()
6891 u32 ioc_status; in _scsih_expander_add() local
6914 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_expander_add()
6916 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { in _scsih_expander_add()
7193 u32 ioc_status; in _scsih_check_device() local
7205 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & MPI2_IOCSTATUS_MASK; in _scsih_check_device()
7206 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) in _scsih_check_device()
7313 u32 ioc_status; in _scsih_add_device() local
7325 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_add_device()
7327 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { in _scsih_add_device()
8005 u32 ioc_status; in _scsih_pcie_check_device() local
8017 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & MPI2_IOCSTATUS_MASK; in _scsih_pcie_check_device()
8018 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) in _scsih_pcie_check_device()
8100 u32 ioc_status; in _scsih_pcie_add_device() local
8109 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_pcie_add_device()
8111 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { in _scsih_pcie_add_device()
8159 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_pcie_add_device()
8161 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { in _scsih_pcie_add_device()
8671 u16 ioc_status; in _scsih_sas_broadcast_primitive_event() local
8740 ioc_status = le16_to_cpu(mpi_reply->IOCStatus) in _scsih_sas_broadcast_primitive_event()
8742 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { in _scsih_sas_broadcast_primitive_event()
8745 ioc_status, scmd); in _scsih_sas_broadcast_primitive_event()
8922 u16 ioc_status; in _scsih_ir_fastpath() local
8972 ioc_status = le16_to_cpu(mpi_reply->IOCStatus); in _scsih_ir_fastpath()
8973 if (ioc_status & MPI2_IOCSTATUS_FLAG_LOG_INFO_AVAILABLE) in _scsih_ir_fastpath()
8977 ioc_status &= MPI2_IOCSTATUS_MASK; in _scsih_ir_fastpath()
8978 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { in _scsih_ir_fastpath()
8981 ioc_status, log_info)); in _scsih_ir_fastpath()
9216 u32 ioc_status; in _scsih_sas_pd_add() local
9236 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_sas_pd_add()
9238 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { in _scsih_sas_pd_add()
9499 u32 ioc_status; in _scsih_sas_ir_physical_disk_event() local
9544 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_sas_ir_physical_disk_event()
9546 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { in _scsih_sas_ir_physical_disk_event()
9856 u16 ioc_status; in _scsih_search_responding_sas_devices() local
9869 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_search_responding_sas_devices()
9871 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) in _scsih_search_responding_sas_devices()
9972 u16 ioc_status; in _scsih_search_responding_pcie_devices() local
9985 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_search_responding_pcie_devices()
9987 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { in _scsih_search_responding_pcie_devices()
9989 __func__, ioc_status, in _scsih_search_responding_pcie_devices()
10074 u16 ioc_status; in _scsih_search_responding_raid_devices() local
10089 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_search_responding_raid_devices()
10091 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) in _scsih_search_responding_raid_devices()
10114 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_search_responding_raid_devices()
10116 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) in _scsih_search_responding_raid_devices()
10196 u16 ioc_status; in _scsih_search_responding_expanders() local
10210 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_search_responding_expanders()
10212 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) in _scsih_search_responding_expanders()
10386 u16 ioc_status; in _scsih_scan_for_devices_after_reset() local
10416 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_scan_for_devices_after_reset()
10418 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { in _scsih_scan_for_devices_after_reset()
10420 ioc_status, le32_to_cpu(mpi_reply.IOCLogInfo)); in _scsih_scan_for_devices_after_reset()
10456 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_scan_for_devices_after_reset()
10458 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { in _scsih_scan_for_devices_after_reset()
10460 ioc_status, le32_to_cpu(mpi_reply.IOCLogInfo)); in _scsih_scan_for_devices_after_reset()
10474 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_scan_for_devices_after_reset()
10476 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { in _scsih_scan_for_devices_after_reset()
10478 ioc_status, le32_to_cpu(mpi_reply.IOCLogInfo)); in _scsih_scan_for_devices_after_reset()
10516 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_scan_for_devices_after_reset()
10518 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { in _scsih_scan_for_devices_after_reset()
10520 ioc_status, le32_to_cpu(mpi_reply.IOCLogInfo)); in _scsih_scan_for_devices_after_reset()
10534 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_scan_for_devices_after_reset()
10536 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { in _scsih_scan_for_devices_after_reset()
10538 ioc_status, le32_to_cpu(mpi_reply.IOCLogInfo)); in _scsih_scan_for_devices_after_reset()
10566 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_scan_for_devices_after_reset()
10568 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { in _scsih_scan_for_devices_after_reset()
10570 ioc_status, le32_to_cpu(mpi_reply.IOCLogInfo)); in _scsih_scan_for_devices_after_reset()
10615 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) in _scsih_scan_for_devices_after_reset()
10617 if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { in _scsih_scan_for_devices_after_reset()
10619 ioc_status, le32_to_cpu(mpi_reply.IOCLogInfo)); in _scsih_scan_for_devices_after_reset()