|
#define | BFA_TRC_TS(_trcm) |
|
#define | BFA_TRC_MOD_SH 10 |
|
#define | BFA_TRC_MOD(__mod) ((BFA_TRC_ ## __mod) << BFA_TRC_MOD_SH) |
|
#define | BFA_TRC_FILE(__mod, __submod) |
|
#define | bfa_trc32(_trcp, _data) __bfa_trc((_trcp)->trcmod, __trc_fileno, __LINE__, (u32)_data) |
|
#define | bfa_trc(_trcp, _data) __bfa_trc((_trcp)->trcmod, __trc_fileno, __LINE__, (u64)_data) |
|
#define | bfa_sm_fault(__mod, __event) |
|
#define | bfa_q_first(_q) ((void *)(((struct list_head *) (_q))->next)) |
|
#define | bfa_q_next(_qe) (((struct list_head *) (_qe))->next) |
|
#define | bfa_q_prev(_qe) (((struct list_head *) (_qe))->prev) |
|
#define | bfa_q_qe_init(_qe) |
|
#define | bfa_q_deq(_q, _qe) |
|
#define | bfa_q_deq_tail(_q, _qe) |
|
#define | bfa_q_is_on_q(_q, _qe) bfa_q_is_on_q_func(_q, (struct list_head *)(_qe)) |
|
#define | bfa_sm_state_decl(oc, st, otype, etype) static void oc ## _sm_ ## st(otype * fsm, etype event) |
|
#define | bfa_sm_set_state(_sm, _state) ((_sm)->sm = (bfa_sm_t)(_state)) |
|
#define | bfa_sm_send_event(_sm, _event) ((_sm)->sm((_sm), (_event))) |
|
#define | bfa_sm_get_state(_sm) ((_sm)->sm) |
|
#define | bfa_sm_cmp_state(_sm, _state) ((_sm)->sm == (bfa_sm_t)(_state)) |
|
#define | BFA_SM(_sm) ((bfa_sm_t)(_sm)) |
|
#define | bfa_fsm_state_decl(oc, st, otype, etype) |
|
#define | bfa_fsm_set_state(_fsm, _state) |
|
#define | bfa_fsm_send_event(_fsm, _event) ((_fsm)->fsm((_fsm), (_event))) |
|
#define | bfa_fsm_get_state(_fsm) ((_fsm)->fsm) |
|
#define | bfa_fsm_cmp_state(_fsm, _state) ((_fsm)->fsm == (bfa_fsm_t)(_state)) |
|
#define | bfa_swap_3b(_x) |
|
#define | bfa_hton3b(_x) bfa_swap_3b(_x) |
|
#define | bfa_ntoh3b(_x) bfa_hton3b(_x) |
|