Home
last modified time | relevance | path

Searched refs:_fsm (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/brocade/bna/
Dbfa_cs.h63 #define bfa_fsm_set_state(_fsm, _state) do { \ argument
64 (_fsm)->fsm = (bfa_fsm_t)(_state); \
65 _state ## _entry(_fsm); \
68 #define bfa_fsm_send_event(_fsm, _event) ((_fsm)->fsm((_fsm), (_event))) argument
69 #define bfa_fsm_get_state(_fsm) ((_fsm)->fsm) argument
70 #define bfa_fsm_cmp_state(_fsm, _state) \ argument
71 ((_fsm)->fsm == (bfa_fsm_t)(_state))
/drivers/scsi/bfa/
Dbfa_cs.h260 #define bfa_fsm_set_state(_fsm, _state) do { \ argument
261 (_fsm)->fsm = (bfa_fsm_t)(_state); \
262 _state ## _entry(_fsm); \
265 #define bfa_fsm_send_event(_fsm, _event) ((_fsm)->fsm((_fsm), (_event))) argument
266 #define bfa_fsm_get_state(_fsm) ((_fsm)->fsm) argument
267 #define bfa_fsm_cmp_state(_fsm, _state) \ argument
268 ((_fsm)->fsm == (bfa_fsm_t)(_state))