Home
last modified time | relevance | path

Searched refs:tx_bd_v (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/ni/
Dnixge.c193 struct nixge_hw_dma_bd *tx_bd_v; member
275 if (priv->tx_bd_v) in nixge_hw_dma_bd_release()
277 sizeof(*priv->tx_bd_v) * TX_BD_NUM, in nixge_hw_dma_bd_release()
278 priv->tx_bd_v, in nixge_hw_dma_bd_release()
296 priv->tx_bd_v = dma_alloc_coherent(ndev->dev.parent, in nixge_hw_dma_bd_init()
297 sizeof(*priv->tx_bd_v) * TX_BD_NUM, in nixge_hw_dma_bd_init()
299 if (!priv->tx_bd_v) in nixge_hw_dma_bd_init()
315 nixge_hw_dma_bd_set_next(&priv->tx_bd_v[i], in nixge_hw_dma_bd_init()
317 sizeof(*priv->tx_bd_v) * in nixge_hw_dma_bd_init()
469 cur_p = &priv->tx_bd_v[priv->tx_bd_ci]; in nixge_start_xmit_done()
[all …]
/linux-6.12.1/drivers/net/ethernet/xilinx/
Dll_temac_main.c316 if (lp->tx_bd_v) in temac_dma_bd_release()
318 sizeof(*lp->tx_bd_v) * lp->tx_bd_num, in temac_dma_bd_release()
319 lp->tx_bd_v, lp->tx_bd_p); in temac_dma_bd_release()
339 lp->tx_bd_v = dma_alloc_coherent(ndev->dev.parent, in temac_dma_bd_init()
340 sizeof(*lp->tx_bd_v) * lp->tx_bd_num, in temac_dma_bd_init()
342 if (!lp->tx_bd_v) in temac_dma_bd_init()
352 lp->tx_bd_v[i].next = cpu_to_be32(lp->tx_bd_p in temac_dma_bd_init()
353 + sizeof(*lp->tx_bd_v) * ((i + 1) % lp->tx_bd_num)); in temac_dma_bd_init()
778 cur_p = &lp->tx_bd_v[lp->tx_bd_ci]; in temac_start_xmit_done()
809 cur_p = &lp->tx_bd_v[lp->tx_bd_ci]; in temac_start_xmit_done()
[all …]
Dxilinx_axienet_main.c191 sizeof(*lp->tx_bd_v) * lp->tx_bd_num, in axienet_dma_bd_release()
192 lp->tx_bd_v, in axienet_dma_bd_release()
318 lp->tx_bd_v = dma_alloc_coherent(lp->dev, in axienet_dma_bd_init()
319 sizeof(*lp->tx_bd_v) * lp->tx_bd_num, in axienet_dma_bd_init()
321 if (!lp->tx_bd_v) in axienet_dma_bd_init()
332 sizeof(*lp->tx_bd_v) * in axienet_dma_bd_init()
335 lp->tx_bd_v[i].next = lower_32_bits(addr); in axienet_dma_bd_init()
337 lp->tx_bd_v[i].next_msb = upper_32_bits(addr); in axienet_dma_bd_init()
750 cur_p = &lp->tx_bd_v[(first_bd + i) % lp->tx_bd_num]; in axienet_free_tx_chain()
814 cur_p = &lp->tx_bd_v[(READ_ONCE(lp->tx_bd_tail) + num_frag) % in axienet_check_tx_bd_space()
[all …]
Dll_temac.h380 struct cdmac_bd *tx_bd_v; member
Dxilinx_axienet.h580 struct axidma_bd *tx_bd_v; member