Lines Matching refs:prod
1569 int error, i, nsegs, prod, si; in ale_encap() local
1689 si = prod = sc->ale_cdata.ale_tx_prod; in ale_encap()
1690 txd = &sc->ale_cdata.ale_txdesc[prod]; in ale_encap()
1779 desc = &sc->ale_cdata.ale_tx_ring[prod]; in ale_encap()
1784 ALE_DESC_INC(prod, ALE_TX_RING_CNT); in ale_encap()
1787 desc = &sc->ale_cdata.ale_tx_ring[prod]; in ale_encap()
1793 ALE_DESC_INC(prod, ALE_TX_RING_CNT); in ale_encap()
1798 desc = &sc->ale_cdata.ale_tx_ring[prod]; in ale_encap()
1803 ALE_DESC_INC(prod, ALE_TX_RING_CNT); in ale_encap()
1806 sc->ale_cdata.ale_tx_prod = prod; in ale_encap()
1814 prod = (prod + ALE_TX_RING_CNT - 1) % ALE_TX_RING_CNT; in ale_encap()
1815 desc = &sc->ale_cdata.ale_tx_ring[prod]; in ale_encap()
1819 txd = &sc->ale_cdata.ale_txdesc[prod]; in ale_encap()
2267 uint32_t cons, prod; in ale_txeof() local
2284 prod = *sc->ale_cdata.ale_tx_cmb & TPD_CNT_MASK; in ale_txeof()
2286 prod = CSR_READ_2(sc, ALE_TPD_CONS_IDX); in ale_txeof()
2292 for (prog = 0; cons != prod; prog++, in ale_txeof()
2324 uint32_t length, uint32_t *prod) in ale_rx_update_page() argument
2353 *prod = *rx_page->cmb_addr; in ale_rx_update_page()
2421 uint32_t length, prod, seqno, status, vtags; in ale_rxeof() local
2439 prod = *rx_page->cmb_addr; in ale_rxeof()
2441 if (rx_page->cons >= prod) in ale_rxeof()
2482 ale_rx_update_page(sc, &rx_page, length, &prod); in ale_rxeof()
2499 ale_rx_update_page(sc, &rx_page, length, &prod); in ale_rxeof()
2517 ale_rx_update_page(sc, &rx_page, length, &prod); in ale_rxeof()