Searched refs:ioc_state (Results 1 – 7 of 7) sorted by relevance
/drivers/scsi/mpt3sas/ |
D | mpt3sas_base.c | 3663 _base_wait_on_iocstate(struct MPT3SAS_ADAPTER *ioc, u32 ioc_state, int timeout) in _base_wait_on_iocstate() argument 3672 if (current_state == ioc_state) in _base_wait_on_iocstate() 3845 u32 ioc_state; in _base_send_ioc_reset() local 3866 ioc_state = _base_wait_on_iocstate(ioc, MPI2_IOC_STATE_READY, timeout); in _base_send_ioc_reset() 3867 if (ioc_state) { in _base_send_ioc_reset() 3870 ioc->name, __func__, ioc_state); in _base_send_ioc_reset() 4021 u32 ioc_state; in mpt3sas_base_sas_iounit_control() local 4040 ioc_state = mpt3sas_base_get_iocstate(ioc, 1); in mpt3sas_base_sas_iounit_control() 4041 while (ioc_state != MPI2_IOC_STATE_OPERATIONAL) { in mpt3sas_base_sas_iounit_control() 4050 ioc_state = mpt3sas_base_get_iocstate(ioc, 1); in mpt3sas_base_sas_iounit_control() [all …]
|
D | mpt3sas_transport.c | 302 u32 ioc_state; in _transport_expander_report_manufacture() local 329 ioc_state = mpt3sas_base_get_iocstate(ioc, 1); in _transport_expander_report_manufacture() 330 while (ioc_state != MPI2_IOC_STATE_OPERATIONAL) { in _transport_expander_report_manufacture() 339 ioc_state = mpt3sas_base_get_iocstate(ioc, 1); in _transport_expander_report_manufacture() 1106 u32 ioc_state; in _transport_get_expander_phy_error_log() local 1131 ioc_state = mpt3sas_base_get_iocstate(ioc, 1); in _transport_get_expander_phy_error_log() 1132 while (ioc_state != MPI2_IOC_STATE_OPERATIONAL) { in _transport_get_expander_phy_error_log() 1141 ioc_state = mpt3sas_base_get_iocstate(ioc, 1); in _transport_get_expander_phy_error_log() 1417 u32 ioc_state; in _transport_expander_phy_control() local 1442 ioc_state = mpt3sas_base_get_iocstate(ioc, 1); in _transport_expander_phy_control() [all …]
|
D | mpt3sas_ctl.c | 643 u32 ioc_state; in _ctl_do_mpt_command() local 668 ioc_state = mpt3sas_base_get_iocstate(ioc, 1); in _ctl_do_mpt_command() 669 while (ioc_state != MPI2_IOC_STATE_OPERATIONAL) { in _ctl_do_mpt_command() 678 ioc_state = mpt3sas_base_get_iocstate(ioc, 1); in _ctl_do_mpt_command() 1380 u32 ioc_state; in _ctl_diag_register_2() local 1386 ioc_state = mpt3sas_base_get_iocstate(ioc, 1); in _ctl_diag_register_2() 1387 if (ioc_state != MPI2_IOC_STATE_OPERATIONAL) { in _ctl_diag_register_2() 1793 u32 ioc_state; in mpt3sas_send_diag_release() local 1802 ioc_state = mpt3sas_base_get_iocstate(ioc, 1); in mpt3sas_send_diag_release() 1803 if (ioc_state != MPI2_IOC_STATE_OPERATIONAL) { in mpt3sas_send_diag_release()
|
D | mpt3sas_config.c | 287 u32 ioc_state; in _config_request() local 350 ioc_state = mpt3sas_base_get_iocstate(ioc, 1); in _config_request() 351 while (ioc_state != MPI2_IOC_STATE_OPERATIONAL) { in _config_request() 361 ioc_state = mpt3sas_base_get_iocstate(ioc, 1); in _config_request()
|
D | mpt3sas_scsih.c | 2218 u32 ioc_state; in mpt3sas_scsih_issue_tm() local 2238 ioc_state = mpt3sas_base_get_iocstate(ioc, 0); in mpt3sas_scsih_issue_tm() 2239 if (ioc_state & MPI2_DOORBELL_USED) { in mpt3sas_scsih_issue_tm() 2246 if ((ioc_state & MPI2_IOC_STATE_MASK) == MPI2_IOC_STATE_FAULT) { in mpt3sas_scsih_issue_tm() 2247 mpt3sas_base_fault_info(ioc, ioc_state & in mpt3sas_scsih_issue_tm() 3115 u32 ioc_state; in _scsih_tm_tr_send() local 3129 ioc_state = mpt3sas_base_get_iocstate(ioc, 1); in _scsih_tm_tr_send() 3130 if (ioc_state != MPI2_IOC_STATE_OPERATIONAL) { in _scsih_tm_tr_send() 3230 u32 ioc_state; in _scsih_tm_tr_complete() local 3243 ioc_state = mpt3sas_base_get_iocstate(ioc, 1); in _scsih_tm_tr_complete() [all …]
|
/drivers/message/fusion/ |
D | mptbase.c | 2920 u32 ioc_state; in MakeIocReady() local 2929 ioc_state = mpt_GetIocState(ioc, 0); in MakeIocReady() 2930 dhsprintk(ioc, printk(MYIOC_s_INFO_FMT "MakeIocReady [raw] state=%08x\n", ioc->name, ioc_state)); in MakeIocReady() 2936 if (ioc_state & MPI_DOORBELL_ACTIVE) { in MakeIocReady() 2944 ((ioc_state & MPI_IOC_STATE_MASK) == MPI_IOC_STATE_READY)) { in MakeIocReady() 2953 if ((ioc_state & MPI_IOC_STATE_MASK) == MPI_IOC_STATE_FAULT) { in MakeIocReady() 2958 ioc->name, ioc_state & MPI_DOORBELL_DATA_MASK); in MakeIocReady() 2964 if ((ioc_state & MPI_IOC_STATE_MASK) == MPI_IOC_STATE_OPERATIONAL) { in MakeIocReady() 2973 whoinit = (ioc_state & MPI_DOORBELL_WHO_INIT_MASK) >> MPI_DOORBELL_WHO_INIT_SHIFT; in MakeIocReady() 2998 while ((ioc_state = mpt_GetIocState(ioc, 1)) != MPI_IOC_STATE_READY) { in MakeIocReady() [all …]
|
/drivers/scsi/bfa/ |
D | bfa_ioc.c | 2673 u32 ioc_state; in bfa_ioc_adapter_is_disabled() local 2678 ioc_state = bfa_ioc_get_cur_ioc_fwstate(ioc); in bfa_ioc_adapter_is_disabled() 2679 if (!bfa_ioc_state_disabled(ioc_state)) in bfa_ioc_adapter_is_disabled() 2683 ioc_state = bfa_ioc_get_cur_ioc_fwstate(ioc); in bfa_ioc_adapter_is_disabled() 2684 if (!bfa_ioc_state_disabled(ioc_state)) in bfa_ioc_adapter_is_disabled()
|