Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/brocade/bna/
Dbfa_cs.h43 #define bfa_fsm_set_state(_fsm, _state) do { \ argument
44 (_fsm)->fsm = (bfa_fsm_t)(_state); \
45 _state ## _entry(_fsm); \
48 #define bfa_fsm_send_event(_fsm, _event) ((_fsm)->fsm((_fsm), (_event))) argument
49 #define bfa_fsm_cmp_state(_fsm, _state) \ argument
50 ((_fsm)->fsm == (bfa_fsm_t)(_state))
/linux-6.1.9/drivers/scsi/bfa/
Dbfa_cs.h220 #define bfa_fsm_set_state(_fsm, _state) do { \ argument
221 (_fsm)->fsm = (bfa_fsm_t)(_state); \
222 _state ## _entry(_fsm); \
225 #define bfa_fsm_send_event(_fsm, _event) ((_fsm)->fsm((_fsm), (_event))) argument
226 #define bfa_fsm_get_state(_fsm) ((_fsm)->fsm) argument
227 #define bfa_fsm_cmp_state(_fsm, _state) \ argument
228 ((_fsm)->fsm == (bfa_fsm_t)(_state))