Lines Matching refs:prod
1617 int error, i, nsegs, prod, si; in ale_encap() local
1737 si = prod = sc->ale_cdata.ale_tx_prod; in ale_encap()
1738 txd = &sc->ale_cdata.ale_txdesc[prod]; in ale_encap()
1827 desc = &sc->ale_cdata.ale_tx_ring[prod]; in ale_encap()
1832 ALE_DESC_INC(prod, ALE_TX_RING_CNT); in ale_encap()
1835 desc = &sc->ale_cdata.ale_tx_ring[prod]; in ale_encap()
1841 ALE_DESC_INC(prod, ALE_TX_RING_CNT); in ale_encap()
1846 desc = &sc->ale_cdata.ale_tx_ring[prod]; in ale_encap()
1851 ALE_DESC_INC(prod, ALE_TX_RING_CNT); in ale_encap()
1854 sc->ale_cdata.ale_tx_prod = prod; in ale_encap()
1862 prod = (prod + ALE_TX_RING_CNT - 1) % ALE_TX_RING_CNT; in ale_encap()
1863 desc = &sc->ale_cdata.ale_tx_ring[prod]; in ale_encap()
1867 txd = &sc->ale_cdata.ale_txdesc[prod]; in ale_encap()
2315 uint32_t cons, prod; in ale_txeof() local
2332 prod = *sc->ale_cdata.ale_tx_cmb & TPD_CNT_MASK; in ale_txeof()
2334 prod = CSR_READ_2(sc, ALE_TPD_CONS_IDX); in ale_txeof()
2340 for (prog = 0; cons != prod; prog++, in ale_txeof()
2372 uint32_t length, uint32_t *prod) in ale_rx_update_page() argument
2401 *prod = *rx_page->cmb_addr; in ale_rx_update_page()
2470 uint32_t length, prod, seqno, status, vtags; in ale_rxeof() local
2488 prod = *rx_page->cmb_addr; in ale_rxeof()
2490 if (rx_page->cons >= prod) in ale_rxeof()
2531 ale_rx_update_page(sc, &rx_page, length, &prod); in ale_rxeof()
2548 ale_rx_update_page(sc, &rx_page, length, &prod); in ale_rxeof()
2566 ale_rx_update_page(sc, &rx_page, length, &prod); in ale_rxeof()