Home
last modified time | relevance | path

Searched refs:ioc_state (Results 1 – 7 of 7) sorted by relevance

/linux-2.6.39/drivers/scsi/mpt2sas/
Dmpt2sas_base.c2554 _base_wait_on_iocstate(struct MPT2SAS_ADAPTER *ioc, u32 ioc_state, int timeout, in _base_wait_on_iocstate() argument
2564 if (current_state == ioc_state) in _base_wait_on_iocstate()
2720 u32 ioc_state; in _base_send_ioc_reset() local
2741 ioc_state = _base_wait_on_iocstate(ioc, MPI2_IOC_STATE_READY, in _base_send_ioc_reset()
2743 if (ioc_state) { in _base_send_ioc_reset()
2745 " (ioc_state=0x%x)\n", ioc->name, __func__, ioc_state); in _base_send_ioc_reset()
2892 u32 ioc_state; in mpt2sas_base_sas_iounit_control() local
2912 ioc_state = mpt2sas_base_get_iocstate(ioc, 1); in mpt2sas_base_sas_iounit_control()
2913 while (ioc_state != MPI2_IOC_STATE_OPERATIONAL) { in mpt2sas_base_sas_iounit_control()
2922 ioc_state = mpt2sas_base_get_iocstate(ioc, 1); in mpt2sas_base_sas_iounit_control()
[all …]
Dmpt2sas_transport.c294 u32 ioc_state; in _transport_expander_report_manufacture() local
322 ioc_state = mpt2sas_base_get_iocstate(ioc, 1); in _transport_expander_report_manufacture()
323 while (ioc_state != MPI2_IOC_STATE_OPERATIONAL) { in _transport_expander_report_manufacture()
332 ioc_state = mpt2sas_base_get_iocstate(ioc, 1); in _transport_expander_report_manufacture()
1080 u32 ioc_state; in _transport_get_expander_phy_error_log() local
1108 ioc_state = mpt2sas_base_get_iocstate(ioc, 1); in _transport_get_expander_phy_error_log()
1109 while (ioc_state != MPI2_IOC_STATE_OPERATIONAL) { in _transport_get_expander_phy_error_log()
1118 ioc_state = mpt2sas_base_get_iocstate(ioc, 1); in _transport_get_expander_phy_error_log()
1401 u32 ioc_state; in _transport_expander_phy_control() local
1429 ioc_state = mpt2sas_base_get_iocstate(ioc, 1); in _transport_expander_phy_control()
[all …]
Dmpt2sas_config.c291 u32 ioc_state; in _config_request() local
353 ioc_state = mpt2sas_base_get_iocstate(ioc, 1); in _config_request()
354 while (ioc_state != MPI2_IOC_STATE_OPERATIONAL) { in _config_request()
364 ioc_state = mpt2sas_base_get_iocstate(ioc, 1); in _config_request()
Dmpt2sas_ctl.c632 u32 ioc_state; in _ctl_do_mpt_command() local
664 ioc_state = mpt2sas_base_get_iocstate(ioc, 1); in _ctl_do_mpt_command()
665 while (ioc_state != MPI2_IOC_STATE_OPERATIONAL) { in _ctl_do_mpt_command()
674 ioc_state = mpt2sas_base_get_iocstate(ioc, 1); in _ctl_do_mpt_command()
1775 u32 ioc_state; in _ctl_send_release() local
1785 ioc_state = mpt2sas_base_get_iocstate(ioc, 1); in _ctl_send_release()
1786 if (ioc_state != MPI2_IOC_STATE_OPERATIONAL) { in _ctl_send_release()
Dmpt2sas_scsih.c2032 u32 ioc_state; in mpt2sas_scsih_issue_tm() local
2053 ioc_state = mpt2sas_base_get_iocstate(ioc, 0); in mpt2sas_scsih_issue_tm()
2054 if (ioc_state & MPI2_DOORBELL_USED) { in mpt2sas_scsih_issue_tm()
2063 if ((ioc_state & MPI2_IOC_STATE_MASK) == MPI2_IOC_STATE_FAULT) { in mpt2sas_scsih_issue_tm()
2064 mpt2sas_base_fault_info(ioc, ioc_state & in mpt2sas_scsih_issue_tm()
/linux-2.6.39/drivers/message/fusion/
Dmptbase.c2848 u32 ioc_state; in MakeIocReady() local
2857 ioc_state = mpt_GetIocState(ioc, 0); in MakeIocReady()
2858 dhsprintk(ioc, printk(MYIOC_s_INFO_FMT "MakeIocReady [raw] state=%08x\n", ioc->name, ioc_state)); in MakeIocReady()
2864 if (ioc_state & MPI_DOORBELL_ACTIVE) { in MakeIocReady()
2872 ((ioc_state & MPI_IOC_STATE_MASK) == MPI_IOC_STATE_READY)) { in MakeIocReady()
2881 if ((ioc_state & MPI_IOC_STATE_MASK) == MPI_IOC_STATE_FAULT) { in MakeIocReady()
2886 ioc->name, ioc_state & MPI_DOORBELL_DATA_MASK); in MakeIocReady()
2892 if ((ioc_state & MPI_IOC_STATE_MASK) == MPI_IOC_STATE_OPERATIONAL) { in MakeIocReady()
2901 whoinit = (ioc_state & MPI_DOORBELL_WHO_INIT_MASK) >> MPI_DOORBELL_WHO_INIT_SHIFT; in MakeIocReady()
2926 while ((ioc_state = mpt_GetIocState(ioc, 1)) != MPI_IOC_STATE_READY) { in MakeIocReady()
[all …]
/linux-2.6.39/drivers/scsi/bfa/
Dbfa_ioc.c2239 u32 ioc_state; in bfa_ioc_adapter_is_disabled() local
2245 ioc_state = readl(rb + BFA_IOC0_STATE_REG); in bfa_ioc_adapter_is_disabled()
2246 if (!bfa_ioc_state_disabled(ioc_state)) in bfa_ioc_adapter_is_disabled()
2250 ioc_state = readl(rb + BFA_IOC1_STATE_REG); in bfa_ioc_adapter_is_disabled()
2251 if (!bfa_ioc_state_disabled(ioc_state)) in bfa_ioc_adapter_is_disabled()