Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/brocade/bna/
H A Dbna.h49 #define BNA_QE_INDX_ADD(_qe_idx, _qe_num, _q_depth) \ argument
50 ((_qe_idx) = ((_qe_idx) + (_qe_num)) & ((_q_depth) - 1))
52 #define BNA_QE_INDX_INC(_idx, _q_depth) BNA_QE_INDX_ADD(_idx, 1, _q_depth) argument
54 #define BNA_Q_INDEX_CHANGE(_old_idx, _updated_idx, _q_depth) \ argument
55 (((_updated_idx) - (_old_idx)) & ((_q_depth) - 1))
57 #define BNA_QE_FREE_CNT(_q_ptr, _q_depth) \ argument
59 ((_q_depth) - 1))
60 #define BNA_QE_IN_USE_CNT(_q_ptr, _q_depth) \ argument
62 (_q_depth - 1))
H A Dbfa_msgq.h23 #define BFA_MSGQ_INDX_ADD(_q_indx, _qe_num, _q_depth) \ argument
24 ((_q_indx) = (((_q_indx) + (_qe_num)) & ((_q_depth) - 1)))