Lines Matching refs:cons
1289 int cons, prog, total_len, rx_npkts; in vr_rxeof() local
1294 cons = sc->vr_cdata.vr_rx_cons; in vr_rxeof()
1301 for (prog = 0; prog < VR_RX_RING_CNT; VR_INC(cons, VR_RX_RING_CNT)) { in vr_rxeof()
1309 cur_rx = &sc->vr_rdata.vr_rx_ring[cons]; in vr_rxeof()
1316 rxd = &sc->vr_cdata.vr_rxdesc[cons]; in vr_rxeof()
1352 if (vr_newbuf(sc, cons) != 0) { in vr_rxeof()
1416 sc->vr_cdata.vr_rx_cons = cons; in vr_rxeof()
1435 int cons, prod; in vr_txeof() local
1439 cons = sc->vr_cdata.vr_tx_cons; in vr_txeof()
1441 if (cons == prod) in vr_txeof()
1453 for (; cons != prod; VR_INC(cons, VR_TX_RING_CNT)) { in vr_txeof()
1454 cur_tx = &sc->vr_rdata.vr_tx_ring[cons]; in vr_txeof()
1466 txd = &sc->vr_cdata.vr_txdesc[cons]; in vr_txeof()
1482 VR_INC(cons, VR_TX_RING_CNT); in vr_txeof()
1483 sc->vr_cdata.vr_tx_cons = cons; in vr_txeof()
1500 sc->vr_cdata.vr_tx_cons = cons; in vr_txeof()
1537 sc->vr_cdata.vr_tx_cons = cons; in vr_txeof()