Lines Matching refs:prod
1592 int error, i, nsegs, prod, si; in ale_encap() local
1712 si = prod = sc->ale_cdata.ale_tx_prod; in ale_encap()
1713 txd = &sc->ale_cdata.ale_txdesc[prod]; in ale_encap()
1802 desc = &sc->ale_cdata.ale_tx_ring[prod]; in ale_encap()
1807 ALE_DESC_INC(prod, ALE_TX_RING_CNT); in ale_encap()
1810 desc = &sc->ale_cdata.ale_tx_ring[prod]; in ale_encap()
1816 ALE_DESC_INC(prod, ALE_TX_RING_CNT); in ale_encap()
1821 desc = &sc->ale_cdata.ale_tx_ring[prod]; in ale_encap()
1826 ALE_DESC_INC(prod, ALE_TX_RING_CNT); in ale_encap()
1829 sc->ale_cdata.ale_tx_prod = prod; in ale_encap()
1837 prod = (prod + ALE_TX_RING_CNT - 1) % ALE_TX_RING_CNT; in ale_encap()
1838 desc = &sc->ale_cdata.ale_tx_ring[prod]; in ale_encap()
1842 txd = &sc->ale_cdata.ale_txdesc[prod]; in ale_encap()
2290 uint32_t cons, prod; in ale_txeof() local
2307 prod = *sc->ale_cdata.ale_tx_cmb & TPD_CNT_MASK; in ale_txeof()
2309 prod = CSR_READ_2(sc, ALE_TPD_CONS_IDX); in ale_txeof()
2315 for (prog = 0; cons != prod; prog++, in ale_txeof()
2347 uint32_t length, uint32_t *prod) in ale_rx_update_page() argument
2376 *prod = *rx_page->cmb_addr; in ale_rx_update_page()
2444 uint32_t length, prod, seqno, status, vtags; in ale_rxeof() local
2462 prod = *rx_page->cmb_addr; in ale_rxeof()
2464 if (rx_page->cons >= prod) in ale_rxeof()
2505 ale_rx_update_page(sc, &rx_page, length, &prod); in ale_rxeof()
2522 ale_rx_update_page(sc, &rx_page, length, &prod); in ale_rxeof()
2540 ale_rx_update_page(sc, &rx_page, length, &prod); in ale_rxeof()