Lines Matching refs:prod
1065 sge_newbuf(struct sge_softc *sc, int prod) in sge_newbuf() argument
1090 rxd = &cd->sge_rxdesc[prod]; in sge_newbuf()
1103 desc = &sc->sge_ldata.sge_rx_ring[prod]; in sge_newbuf()
1107 if (prod == SGE_RX_RING_CNT - 1) in sge_newbuf()
1229 int cons, nsegs, prod; in sge_txeof() local
1242 prod = cd->sge_tx_prod; in sge_txeof()
1243 for (; cons != prod;) { in sge_txeof()
1388 int error, i, nsegs, prod, si; in sge_encap() local
1392 si = prod = sc->sge_cdata.sge_tx_prod; in sge_encap()
1393 txd = &sc->sge_cdata.sge_txdesc[prod]; in sge_encap()
1501 desc = &sc->sge_ldata.sge_tx_ring[prod]; in sge_encap()
1511 if (prod == SGE_TX_RING_CNT - 1) in sge_encap()
1514 SGE_INC(prod, SGE_TX_RING_CNT); in sge_encap()
1517 sc->sge_cdata.sge_tx_prod = prod; in sge_encap()