Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/ni/
H A Dnixge.c197 struct nixge_hw_dma_bd *rx_bd_v; member
251 if (priv->rx_bd_v) { in nixge_hw_dma_bd_release()
267 sizeof(*priv->rx_bd_v) * RX_BD_NUM, in nixge_hw_dma_bd_release()
268 priv->rx_bd_v, in nixge_hw_dma_bd_release()
309 sizeof(*priv->rx_bd_v) * RX_BD_NUM, in nixge_hw_dma_bd_init()
311 if (!priv->rx_bd_v) in nixge_hw_dma_bd_init()
322 nixge_hw_dma_bd_set_next(&priv->rx_bd_v[i], in nixge_hw_dma_bd_init()
324 + sizeof(*priv->rx_bd_v) * in nixge_hw_dma_bd_init()
605 cur_p = &priv->rx_bd_v[priv->rx_bd_ci]; in nixge_recv()
658 cur_p = &priv->rx_bd_v[priv->rx_bd_ci]; in nixge_recv()
[all …]
/openbmc/linux/drivers/net/ethernet/xilinx/
H A Dxilinx_axienet_main.c175 if (!lp->rx_bd_v) in axienet_dma_bd_release()
184 if (!lp->rx_bd_v[i].skb) in axienet_dma_bd_release()
187 dev_kfree_skb(lp->rx_bd_v[i].skb); in axienet_dma_bd_release()
193 if (lp->rx_bd_v[i].cntrl) { in axienet_dma_bd_release()
201 sizeof(*lp->rx_bd_v) * lp->rx_bd_num, in axienet_dma_bd_release()
202 lp->rx_bd_v, in axienet_dma_bd_release()
307 if (!lp->rx_bd_v) in axienet_dma_bd_init()
333 lp->rx_bd_v[i].skb = skb; in axienet_dma_bd_init()
920 cur_p = &lp->rx_bd_v[lp->rx_bd_ci]; in axienet_rx_poll()
995 cur_p = &lp->rx_bd_v[lp->rx_bd_ci]; in axienet_rx_poll()
[all …]
H A Dll_temac_main.c312 if (lp->rx_bd_v) in temac_dma_bd_release()
314 sizeof(*lp->rx_bd_v) * lp->rx_bd_num, in temac_dma_bd_release()
315 lp->rx_bd_v, lp->rx_bd_p); in temac_dma_bd_release()
345 lp->rx_bd_v = dma_alloc_coherent(ndev->dev.parent, in temac_dma_bd_init()
346 sizeof(*lp->rx_bd_v) * lp->rx_bd_num, in temac_dma_bd_init()
348 if (!lp->rx_bd_v) in temac_dma_bd_init()
357 lp->rx_bd_v[i].next = cpu_to_be32(lp->rx_bd_p in temac_dma_bd_init()
358 + sizeof(*lp->rx_bd_v) * ((i + 1) % lp->rx_bd_num)); in temac_dma_bd_init()
373 lp->rx_bd_v[i].phys = cpu_to_be32(skb_dma_addr); in temac_dma_bd_init()
983 struct cdmac_bd *bd = &lp->rx_bd_v[lp->rx_bd_ci]; in ll_temac_recv()
[all …]
H A Dll_temac.h383 struct cdmac_bd *rx_bd_v; member
H A Dxilinx_axienet.h466 struct axidma_bd *rx_bd_v; member