Home
last modified time | relevance | path

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

/drivers/net/ethernet/xilinx/
Dll_temac_main.c223 if (lp->tx_bd_v) in temac_dma_bd_release()
225 sizeof(*lp->tx_bd_v) * TX_BD_NUM, in temac_dma_bd_release()
226 lp->tx_bd_v, lp->tx_bd_p); in temac_dma_bd_release()
246 lp->tx_bd_v = dma_alloc_coherent(ndev->dev.parent, in temac_dma_bd_init()
247 sizeof(*lp->tx_bd_v) * TX_BD_NUM, in temac_dma_bd_init()
249 if (!lp->tx_bd_v) in temac_dma_bd_init()
259 lp->tx_bd_v[i].next = lp->tx_bd_p + in temac_dma_bd_init()
260 sizeof(*lp->tx_bd_v) * ((i + 1) % TX_BD_NUM); in temac_dma_bd_init()
620 cur_p = &lp->tx_bd_v[lp->tx_bd_ci]; in temac_start_xmit_done()
641 cur_p = &lp->tx_bd_v[lp->tx_bd_ci]; in temac_start_xmit_done()
[all …]
Dxilinx_axienet_main.c170 if (lp->tx_bd_v) { in axienet_dma_bd_release()
172 sizeof(*lp->tx_bd_v) * TX_BD_NUM, in axienet_dma_bd_release()
173 lp->tx_bd_v, in axienet_dma_bd_release()
204 lp->tx_bd_v = dma_alloc_coherent(ndev->dev.parent, in axienet_dma_bd_init()
205 sizeof(*lp->tx_bd_v) * TX_BD_NUM, in axienet_dma_bd_init()
208 if (!lp->tx_bd_v) in axienet_dma_bd_init()
219 lp->tx_bd_v[i].next = lp->tx_bd_p + in axienet_dma_bd_init()
220 sizeof(*lp->tx_bd_v) * in axienet_dma_bd_init()
588 cur_p = &lp->tx_bd_v[lp->tx_bd_ci]; in axienet_start_xmit_done()
607 cur_p = &lp->tx_bd_v[lp->tx_bd_ci]; in axienet_start_xmit_done()
[all …]
Dll_temac.h363 struct cdmac_bd *tx_bd_v; member
Dxilinx_axienet.h442 struct axidma_bd *tx_bd_v; member