Lines Matching refs:cons
1292 int cons, prog, total_len, rx_npkts; in vr_rxeof() local
1297 cons = sc->vr_cdata.vr_rx_cons; in vr_rxeof()
1304 for (prog = 0; prog < VR_RX_RING_CNT; VR_INC(cons, VR_RX_RING_CNT)) { in vr_rxeof()
1312 cur_rx = &sc->vr_rdata.vr_rx_ring[cons]; in vr_rxeof()
1319 rxd = &sc->vr_cdata.vr_rxdesc[cons]; in vr_rxeof()
1355 if (vr_newbuf(sc, cons) != 0) { in vr_rxeof()
1419 sc->vr_cdata.vr_rx_cons = cons; in vr_rxeof()
1438 int cons, prod; in vr_txeof() local
1442 cons = sc->vr_cdata.vr_tx_cons; in vr_txeof()
1444 if (cons == prod) in vr_txeof()
1456 for (; cons != prod; VR_INC(cons, VR_TX_RING_CNT)) { in vr_txeof()
1457 cur_tx = &sc->vr_rdata.vr_tx_ring[cons]; in vr_txeof()
1469 txd = &sc->vr_cdata.vr_txdesc[cons]; in vr_txeof()
1485 VR_INC(cons, VR_TX_RING_CNT); in vr_txeof()
1486 sc->vr_cdata.vr_tx_cons = cons; in vr_txeof()
1503 sc->vr_cdata.vr_tx_cons = cons; in vr_txeof()
1540 sc->vr_cdata.vr_tx_cons = cons; in vr_txeof()