Searched refs:USABLE_RX_BD_PER_PAGE (Results 1 - 2 of 2) sorted by relevance

/freebsd-current/sys/dev/bce/
H A Dif_bce.c3936 BCE_RV2P_PROC2_CHG_MAX_BD_PAGE(USABLE_RX_BD_PER_PAGE);
5716 rxbd = &sc->rx_bd_chain[i][USABLE_RX_BD_PER_PAGE];
5788 DBRUNIF(((prod & USABLE_RX_BD_PER_PAGE) == USABLE_RX_BD_PER_PAGE),
5952 DBRUNIF(((prod & USABLE_RX_BD_PER_PAGE) == USABLE_RX_BD_PER_PAGE),
6390 if ((hw_cons & USABLE_RX_BD_PER_PAGE) == USABLE_RX_BD_PER_PAGE)
9910 else if ((idx & USABLE_RX_BD_PER_PAGE) == USABLE_RX_BD_PER_PAGE)
[all...]
H A Dif_bcereg.h6091 #define USABLE_RX_BD_PER_PAGE (TOTAL_RX_BD_PER_PAGE - 1) macro
6094 #define USABLE_RX_BD_ALLOC (USABLE_RX_BD_PER_PAGE * sc->rx_pages)
6098 #define NEXT_RX_BD(x) (((x) & USABLE_RX_BD_PER_PAGE) == \
6099 (USABLE_RX_BD_PER_PAGE - 1)) ? (x) + 2 : (x) + 1
6103 #define RX_PAGE(x) (((x) & ~USABLE_RX_BD_PER_PAGE) >> (BCM_PAGE_BITS - 4))
6104 #define RX_IDX(x) ((x) & USABLE_RX_BD_PER_PAGE)

Completed in 146 milliseconds