Lines Matching refs:ring_prod
5237 u16 prod, ring_prod; in bnx2_init_rx_ring() local
5285 ring_prod = prod = rxr->rx_pg_prod; in bnx2_init_rx_ring()
5287 if (bnx2_alloc_rx_page(bp, rxr, ring_prod, GFP_KERNEL) < 0) { in bnx2_init_rx_ring()
5293 ring_prod = BNX2_RX_PG_RING_IDX(prod); in bnx2_init_rx_ring()
5297 ring_prod = prod = rxr->rx_prod; in bnx2_init_rx_ring()
5299 if (bnx2_alloc_rx_data(bp, rxr, ring_prod, GFP_KERNEL) < 0) { in bnx2_init_rx_ring()
5305 ring_prod = BNX2_RX_RING_IDX(prod); in bnx2_init_rx_ring()
6596 u16 prod, ring_prod; in bnx2_start_xmit() local
6617 ring_prod = BNX2_TX_RING_IDX(prod); in bnx2_start_xmit()
6669 tx_buf = &txr->tx_buf_ring[ring_prod]; in bnx2_start_xmit()
6673 txbd = &txr->tx_desc_ring[ring_prod]; in bnx2_start_xmit()
6688 ring_prod = BNX2_TX_RING_IDX(prod); in bnx2_start_xmit()
6689 txbd = &txr->tx_desc_ring[ring_prod]; in bnx2_start_xmit()
6696 dma_unmap_addr_set(&txr->tx_buf_ring[ring_prod], mapping, in bnx2_start_xmit()
6740 ring_prod = BNX2_TX_RING_IDX(prod); in bnx2_start_xmit()
6741 tx_buf = &txr->tx_buf_ring[ring_prod]; in bnx2_start_xmit()
6749 ring_prod = BNX2_TX_RING_IDX(prod); in bnx2_start_xmit()
6750 tx_buf = &txr->tx_buf_ring[ring_prod]; in bnx2_start_xmit()