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