Searched refs:_fsm (Results 1 – 2 of 2) sorted by relevance
43 #define bfa_fsm_set_state(_fsm, _state) do { \ argument44 (_fsm)->fsm = (bfa_fsm_t)(_state); \45 _state ## _entry(_fsm); \48 #define bfa_fsm_send_event(_fsm, _event) ((_fsm)->fsm((_fsm), (_event))) argument49 #define bfa_fsm_cmp_state(_fsm, _state) \ argument50 ((_fsm)->fsm == (bfa_fsm_t)(_state))
220 #define bfa_fsm_set_state(_fsm, _state) do { \ argument221 (_fsm)->fsm = (bfa_fsm_t)(_state); \222 _state ## _entry(_fsm); \225 #define bfa_fsm_send_event(_fsm, _event) ((_fsm)->fsm((_fsm), (_event))) argument226 #define bfa_fsm_get_state(_fsm) ((_fsm)->fsm) argument227 #define bfa_fsm_cmp_state(_fsm, _state) \ argument228 ((_fsm)->fsm == (bfa_fsm_t)(_state))