Lines Matching refs:cons
1138 int cons, prog; in sge_rxeof() local
1147 cons = cd->sge_rx_cons; in sge_rxeof()
1149 SGE_INC(cons, SGE_RX_RING_CNT)) { in sge_rxeof()
1152 cur_rx = &sc->sge_ldata.sge_rx_ring[cons]; in sge_rxeof()
1164 sge_discard_rxbuf(sc, cons); in sge_rxeof()
1168 m = cd->sge_rxdesc[cons].rx_m; in sge_rxeof()
1169 if (sge_newbuf(sc, cons) != 0) { in sge_rxeof()
1170 sge_discard_rxbuf(sc, cons); in sge_rxeof()
1213 cd->sge_rx_cons = cons; in sge_rxeof()
1229 int cons, nsegs, prod; in sge_txeof() local
1241 cons = cd->sge_tx_cons; in sge_txeof()
1243 for (; cons != prod;) { in sge_txeof()
1244 txstat = le32toh(ld->sge_tx_ring[cons].sge_cmdsts); in sge_txeof()
1266 txd = &cd->sge_txdesc[cons]; in sge_txeof()
1268 ld->sge_tx_ring[cons].sge_cmdsts = 0; in sge_txeof()
1269 SGE_INC(cons, SGE_TX_RING_CNT); in sge_txeof()
1285 cd->sge_tx_cons = cons; in sge_txeof()