Lines Matching refs:cons
1302 int cons, prog, total_len, rx_npkts; in vr_rxeof() local
1307 cons = sc->vr_cdata.vr_rx_cons; in vr_rxeof()
1314 for (prog = 0; prog < VR_RX_RING_CNT; VR_INC(cons, VR_RX_RING_CNT)) { in vr_rxeof()
1322 cur_rx = &sc->vr_rdata.vr_rx_ring[cons]; in vr_rxeof()
1329 rxd = &sc->vr_cdata.vr_rxdesc[cons]; in vr_rxeof()
1365 if (vr_newbuf(sc, cons) != 0) { in vr_rxeof()
1429 sc->vr_cdata.vr_rx_cons = cons; in vr_rxeof()
1448 int cons, prod; in vr_txeof() local
1452 cons = sc->vr_cdata.vr_tx_cons; in vr_txeof()
1454 if (cons == prod) in vr_txeof()
1466 for (; cons != prod; VR_INC(cons, VR_TX_RING_CNT)) { in vr_txeof()
1467 cur_tx = &sc->vr_rdata.vr_tx_ring[cons]; in vr_txeof()
1479 txd = &sc->vr_cdata.vr_txdesc[cons]; in vr_txeof()
1495 VR_INC(cons, VR_TX_RING_CNT); in vr_txeof()
1496 sc->vr_cdata.vr_tx_cons = cons; in vr_txeof()
1513 sc->vr_cdata.vr_tx_cons = cons; in vr_txeof()
1550 sc->vr_cdata.vr_tx_cons = cons; in vr_txeof()