Searched refs:_fsm (Results 1 – 2 of 2) sorted by relevance
63 #define bfa_fsm_set_state(_fsm, _state) do { \ argument64 (_fsm)->fsm = (bfa_fsm_t)(_state); \65 _state ## _entry(_fsm); \68 #define bfa_fsm_send_event(_fsm, _event) ((_fsm)->fsm((_fsm), (_event))) argument69 #define bfa_fsm_get_state(_fsm) ((_fsm)->fsm) argument70 #define bfa_fsm_cmp_state(_fsm, _state) \ argument71 ((_fsm)->fsm == (bfa_fsm_t)(_state))
260 #define bfa_fsm_set_state(_fsm, _state) do { \ argument261 (_fsm)->fsm = (bfa_fsm_t)(_state); \262 _state ## _entry(_fsm); \265 #define bfa_fsm_send_event(_fsm, _event) ((_fsm)->fsm((_fsm), (_event))) argument266 #define bfa_fsm_get_state(_fsm) ((_fsm)->fsm) argument267 #define bfa_fsm_cmp_state(_fsm, _state) \ argument268 ((_fsm)->fsm == (bfa_fsm_t)(_state))