Home
last modified time | relevance | path

Searched refs:tx_buf_ring (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c45 tx_buf = &txr->tx_buf_ring[prod]; in bnxt_xmit_bd()
69 frag_tx_buf = &txr->tx_buf_ring[prod]; in bnxt_xmit_bd()
136 tx_buf = &txr->tx_buf_ring[tx_cons]; in bnxt_tx_int_xdp()
156 tx_buf = &txr->tx_buf_ring[tx_cons]; in bnxt_tx_int_xdp()
169 tx_buf = &txr->tx_buf_ring[last_tx_cons]; in bnxt_tx_int_xdp()
Dbnxt.c438 tx_buf = &txr->tx_buf_ring[prod]; in bnxt_start_xmit()
618 tx_buf = &txr->tx_buf_ring[prod]; in bnxt_start_xmit()
666 tx_buf = &txr->tx_buf_ring[prod]; in bnxt_start_xmit()
674 tx_buf = &txr->tx_buf_ring[prod]; in bnxt_start_xmit()
685 txr->tx_buf_ring[txr->tx_prod].skb = NULL; in bnxt_start_xmit()
705 tx_buf = &txr->tx_buf_ring[cons]; in bnxt_tx_int()
728 tx_buf = &txr->tx_buf_ring[cons]; in bnxt_tx_int()
2863 if (!txr->tx_buf_ring) in bnxt_free_tx_skbs()
2867 struct bnxt_sw_tx_bd *tx_buf = &txr->tx_buf_ring[j]; in bnxt_free_tx_skbs()
2909 tx_buf = &txr->tx_buf_ring[ring_idx]; in bnxt_free_tx_skbs()
[all …]
Dbnxt.h808 struct bnxt_sw_tx_bd *tx_buf_ring; member
/linux-6.6.21/drivers/net/ethernet/mediatek/
Dmtk_wed.c318 dev->tx_buf_ring.size = ring_size; in mtk_wed_tx_buffer_alloc()
319 dev->tx_buf_ring.pages = page_list; in mtk_wed_tx_buffer_alloc()
326 dev->tx_buf_ring.desc = desc; in mtk_wed_tx_buffer_alloc()
327 dev->tx_buf_ring.desc_phys = desc_phys; in mtk_wed_tx_buffer_alloc()
390 struct mtk_wdma_desc *desc = dev->tx_buf_ring.desc; in mtk_wed_free_tx_buffer()
391 void **page_list = dev->tx_buf_ring.pages; in mtk_wed_free_tx_buffer()
401 for (i = 0, page_idx = 0; i < dev->tx_buf_ring.size; in mtk_wed_free_tx_buffer()
415 dma_free_coherent(dev->hw->dev, dev->tx_buf_ring.size * sizeof(*desc), in mtk_wed_free_tx_buffer()
416 desc, dev->tx_buf_ring.desc_phys); in mtk_wed_free_tx_buffer()
930 dev->tx_buf_ring.size / 128) | in mtk_wed_hw_init()
[all …]
/linux-6.6.21/include/linux/soc/mediatek/
Dmtk_wed.h103 } tx_buf_ring; member
/linux-6.6.21/drivers/net/ethernet/broadcom/
Dbnx2.c704 kfree(txr->tx_buf_ring); in bnx2_free_tx_mem()
705 txr->tx_buf_ring = NULL; in bnx2_free_tx_mem()
750 txr->tx_buf_ring = kzalloc(SW_TXBD_RING_SIZE, GFP_KERNEL); in bnx2_alloc_tx_mem()
751 if (!txr->tx_buf_ring) in bnx2_alloc_tx_mem()
2862 tx_buf = &txr->tx_buf_ring[sw_ring_cons]; in bnx2_tx_int()
2893 tx_buf = &txr->tx_buf_ring[BNX2_TX_RING_IDX(sw_cons)]; in bnx2_tx_int()
5420 if (!txr->tx_buf_ring) in bnx2_free_tx_skbs()
5424 struct bnx2_sw_tx_bd *tx_buf = &txr->tx_buf_ring[j]; in bnx2_free_tx_skbs()
5443 tx_buf = &txr->tx_buf_ring[BNX2_TX_RING_IDX(j)]; in bnx2_free_tx_skbs()
6654 tx_buf = &txr->tx_buf_ring[ring_prod]; in bnx2_start_xmit()
[all …]
Dbnx2.h6735 struct bnx2_sw_tx_bd *tx_buf_ring; member
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c197 struct sw_tx_bd *tx_buf = &txdata->tx_buf_ring[idx]; in bnx2x_free_tx_pkt()
3874 tx_buf = &txdata->tx_buf_ring[TX_BD(pkt_prod)]; in bnx2x_start_xmit()
4422 BNX2X_FREE(txdata->tx_buf_ring); in bnx2x_free_fp_mem_at()
4586 txdata->tx_buf_ring = kcalloc(NUM_TX_BD, in bnx2x_alloc_fp_mem_at()
4589 if (!txdata->tx_buf_ring) in bnx2x_alloc_fp_mem_at()
Dbnx2x.h516 struct sw_tx_bd *tx_buf_ring; member
Dbnx2x_ethtool.c2584 tx_buf = &txdata->tx_buf_ring[TX_BD(pkt_prod)]; in bnx2x_run_loopback()
Dbnx2x_main.c1169 &txdata->tx_buf_ring[j]; in bnx2x_panic_dump()