Home
last modified time | relevance | path

Searched refs:tx_desc_ring (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/agere/
Det131x.c373 struct tx_desc *tx_desc_ring; member
2366 tx_ring->tx_desc_ring = dma_alloc_coherent(&adapter->pdev->dev, in et131x_tx_dma_memory_alloc()
2370 if (!tx_ring->tx_desc_ring) { in et131x_tx_dma_memory_alloc()
2393 if (tx_ring->tx_desc_ring) { in et131x_tx_dma_memory_free()
2398 tx_ring->tx_desc_ring, in et131x_tx_dma_memory_free()
2400 tx_ring->tx_desc_ring = NULL; in et131x_tx_dma_memory_free()
2527 memcpy(tx_ring->tx_desc_ring + INDEX10(tx_ring->send_idx), in nic_send_packet()
2540 memcpy(tx_ring->tx_desc_ring, in nic_send_packet()
2651 desc = tx_ring->tx_desc_ring + in free_send_packet()
2667 } while (desc != tx_ring->tx_desc_ring + INDEX10(tcb->index)); in free_send_packet()
/Linux-v5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c212 tx_start_bd = &txdata->tx_desc_ring[bd_idx].start_bd; in bnx2x_free_tx_pkt()
238 tx_data_bd = &txdata->tx_desc_ring[bd_idx].reg_bd; in bnx2x_free_tx_pkt()
252 tx_data_bd = &txdata->tx_desc_ring[bd_idx].reg_bd; in bnx2x_free_tx_pkt()
3301 d_tx_bd = &txdata->tx_desc_ring[bd_prod].reg_bd; in bnx2x_tx_split()
3859 tx_start_bd = &txdata->tx_desc_ring[bd_prod].start_bd; in bnx2x_start_xmit()
3934 pbd_e2 = &txdata->tx_desc_ring[bd_prod].parse_bd_e2; in bnx2x_start_xmit()
3948 pbd2 = &txdata->tx_desc_ring[bd_prod].parse_2nd_bd; in bnx2x_start_xmit()
4017 pbd_e1x = &txdata->tx_desc_ring[bd_prod].parse_bd_e1x; in bnx2x_start_xmit()
4098 tx_data_bd = &txdata->tx_desc_ring[bd_prod].reg_bd; in bnx2x_start_xmit()
4100 total_pkt_bd = &txdata->tx_desc_ring[bd_prod].reg_bd; in bnx2x_start_xmit()
[all …]
Dbnx2x_ethtool.c2582 tx_start_bd = &txdata->tx_desc_ring[bd_prod].start_bd; in bnx2x_run_loopback()
2602 &txdata->tx_desc_ring[bd_prod].parse_bd_e1x; in bnx2x_run_loopback()
2610 &txdata->tx_desc_ring[bd_prod].parse_bd_e2; in bnx2x_run_loopback()
Dbnx2x.h518 union eth_tx_bd_types *tx_desc_ring; member
Dbnx2x_main.c1169 u32 *tx_bd = (u32 *)&txdata->tx_desc_ring[j]; in bnx2x_panic_dump()
6414 &txdata->tx_desc_ring[TX_DESC_CNT * i - 1].next_bd; in bnx2x_init_tx_ring_one()
/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c35 txbd = &txr->tx_desc_ring[TX_RING(prod)][TX_IDX(prod)]; in bnxt_xmit_bd()
Dbnxt.h775 struct tx_bd *tx_desc_ring[MAX_TX_PAGES]; member
Dbnxt.c380 txbd = &txr->tx_desc_ring[TX_RING(prod)][TX_IDX(prod)]; in bnxt_start_xmit()
449 txbd = &txr->tx_desc_ring[TX_RING(prod)][TX_IDX(prod)]; in bnxt_start_xmit()
499 &txr->tx_desc_ring[TX_RING(prod)][TX_IDX(prod)]; in bnxt_start_xmit()
542 txbd = &txr->tx_desc_ring[TX_RING(prod)][TX_IDX(prod)]; in bnxt_start_xmit()
3179 rmem->pg_arr = (void **)txr->tx_desc_ring; in bnxt_init_ring_struct()
/Linux-v5.10/drivers/net/ethernet/broadcom/
Dbnx2.c699 if (txr->tx_desc_ring) { in bnx2_free_tx_mem()
701 txr->tx_desc_ring, in bnx2_free_tx_mem()
703 txr->tx_desc_ring = NULL; in bnx2_free_tx_mem()
755 txr->tx_desc_ring = in bnx2_alloc_tx_mem()
758 if (!txr->tx_desc_ring) in bnx2_alloc_tx_mem()
5195 txbd = &txr->tx_desc_ring[BNX2_MAX_TX_DESC_CNT]; in bnx2_init_tx_ring()
5862 txbd = &txr->tx_desc_ring[BNX2_TX_RING_IDX(txr->tx_prod)]; in bnx2_run_loopback()
6673 txbd = &txr->tx_desc_ring[ring_prod]; in bnx2_start_xmit()
6689 txbd = &txr->tx_desc_ring[ring_prod]; in bnx2_start_xmit()
Dbnx2.h6734 struct bnx2_tx_bd *tx_desc_ring; member