Searched refs:VR_INC (Results 1 – 2 of 2) sorted by relevance
653 #define VR_INC(x,y) (x) = (((x) + 1) % y) macro
1309 for (prog = 0; prog < VR_RX_RING_CNT; VR_INC(cons, VR_RX_RING_CNT)) { in vr_rxeof()1461 for (; cons != prod; VR_INC(cons, VR_TX_RING_CNT)) { in vr_txeof()1490 VR_INC(cons, VR_TX_RING_CNT); in vr_txeof()1923 VR_INC(prod, VR_TX_RING_CNT); in vr_encap()1935 VR_INC(sc->vr_cdata.vr_tx_pkts, VR_TX_INTR_THRESH); in vr_encap()