Lines Matching refs:ring_prod
5220 u16 prod, ring_prod; in bnx2_init_rx_ring() local
5268 ring_prod = prod = rxr->rx_pg_prod; in bnx2_init_rx_ring()
5270 if (bnx2_alloc_rx_page(bp, rxr, ring_prod, GFP_KERNEL) < 0) { in bnx2_init_rx_ring()
5276 ring_prod = BNX2_RX_PG_RING_IDX(prod); in bnx2_init_rx_ring()
5280 ring_prod = prod = rxr->rx_prod; in bnx2_init_rx_ring()
5282 if (bnx2_alloc_rx_data(bp, rxr, ring_prod, GFP_KERNEL) < 0) { in bnx2_init_rx_ring()
5288 ring_prod = BNX2_RX_RING_IDX(prod); in bnx2_init_rx_ring()
6580 u16 prod, ring_prod; in bnx2_start_xmit() local
6601 ring_prod = BNX2_TX_RING_IDX(prod); in bnx2_start_xmit()
6654 tx_buf = &txr->tx_buf_ring[ring_prod]; in bnx2_start_xmit()
6658 txbd = &txr->tx_desc_ring[ring_prod]; in bnx2_start_xmit()
6673 ring_prod = BNX2_TX_RING_IDX(prod); in bnx2_start_xmit()
6674 txbd = &txr->tx_desc_ring[ring_prod]; in bnx2_start_xmit()
6681 dma_unmap_addr_set(&txr->tx_buf_ring[ring_prod], mapping, in bnx2_start_xmit()
6725 ring_prod = BNX2_TX_RING_IDX(prod); in bnx2_start_xmit()
6726 tx_buf = &txr->tx_buf_ring[ring_prod]; in bnx2_start_xmit()
6734 ring_prod = BNX2_TX_RING_IDX(prod); in bnx2_start_xmit()
6735 tx_buf = &txr->tx_buf_ring[ring_prod]; in bnx2_start_xmit()