#ifndef __BFA_CS_H__
#define __BFA_CS_H__
#include "cna.h"
#define BFA_SM_TABLE …
BFA_SM_TABLE(iocpf, bfa_iocpf, iocpf_event, bfa_fsm_iocpf_t)
BFA_SM_TABLE(ioc, bfa_ioc, ioc_event, bfa_fsm_ioc_t)
BFA_SM_TABLE(cmdq, bfa_msgq_cmdq, cmdq_event, bfa_fsm_msgq_cmdq_t)
BFA_SM_TABLE(rspq, bfa_msgq_rspq, rspq_event, bfa_fsm_msgq_rspq_t)
BFA_SM_TABLE(ioceth, bna_ioceth, bna_ioceth_event, bna_fsm_ioceth_t)
BFA_SM_TABLE(enet, bna_enet, bna_enet_event, bna_fsm_enet_t)
BFA_SM_TABLE(ethport, bna_ethport, bna_ethport_event, bna_fsm_ethport_t)
BFA_SM_TABLE(tx, bna_tx, bna_tx_event, bna_fsm_tx_t)
BFA_SM_TABLE(rxf, bna_rxf, bna_rxf_event, bna_fsm_rxf_t)
BFA_SM_TABLE(rx, bna_rx, bna_rx_event, bna_fsm_rx_t)
#undef BFA_SM_TABLE
#define BFA_SM(_sm) …
bfa_fsm_t;
#define bfa_fsm_state_decl(oc, st, otype, etype) …
#define bfa_fsm_set_state(_fsm, _state) …
#define bfa_fsm_send_event(_fsm, _event) …
#define bfa_fsm_cmp_state(_fsm, _state) …
bfa_wc_resume_t;
struct bfa_wc { … };
static inline void
bfa_wc_up(struct bfa_wc *wc)
{ … }
static inline void
bfa_wc_down(struct bfa_wc *wc)
{ … }
static inline void
bfa_wc_init(struct bfa_wc *wc, bfa_wc_resume_t wc_resume, void *wc_cbarg)
{ … }
static inline void
bfa_wc_wait(struct bfa_wc *wc)
{ … }
#endif