Home
last modified time | relevance | path

Searched refs:bfa_fsm_cmp_state (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/net/ethernet/brocade/bna/
H A Dbfa_cs.h77 #define bfa_fsm_cmp_state(_fsm, _state) ((_fsm)->fsm == (_state)) macro
H A Dbfa_ioc.c2728 return bfa_fsm_cmp_state(ioc, bfa_ioc_sm_disabling) || in bfa_nw_ioc_is_disabled()
2729 bfa_fsm_cmp_state(ioc, bfa_ioc_sm_disabled); in bfa_nw_ioc_is_disabled()
2736 return bfa_fsm_cmp_state(ioc, bfa_ioc_sm_op); in bfa_nw_ioc_is_operational()
/openbmc/linux/drivers/scsi/bfa/
H A Dbfa_cs.h227 #define bfa_fsm_cmp_state(_fsm, _state) \ macro
H A Dbfa_ioc.c2272 return bfa_fsm_cmp_state(ioc, bfa_ioc_sm_op); in bfa_ioc_is_operational()
2636 return bfa_fsm_cmp_state(ioc, bfa_ioc_sm_disabling) || in bfa_ioc_is_disabled()
2637 bfa_fsm_cmp_state(ioc, bfa_ioc_sm_disabled); in bfa_ioc_is_disabled()
2646 return bfa_fsm_cmp_state(ioc, bfa_ioc_sm_reset) || in bfa_ioc_fw_mismatch()
2647 bfa_fsm_cmp_state(&ioc->iocpf, bfa_iocpf_sm_fwcheck) || in bfa_ioc_fw_mismatch()
2648 bfa_fsm_cmp_state(&ioc->iocpf, bfa_iocpf_sm_mismatch); in bfa_ioc_fw_mismatch()
2660 if (!bfa_fsm_cmp_state(ioc, bfa_ioc_sm_disabled)) in bfa_ioc_adapter_is_disabled()
H A Dbfa_core.c1021 if (bfa_fsm_cmp_state(iocfc, bfa_iocfc_sm_init_cfg_wait)) in bfa_iocfc_send_cfg()
1688 bfa_fsm_cmp_state(&bfa->iocfc, bfa_iocfc_sm_operational); in bfa_iocfc_is_operational()