Searched refs:rx_bd_v (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/ni/ |
D | nixge.c | 198 struct nixge_hw_dma_bd *rx_bd_v; member 252 if (priv->rx_bd_v) { in nixge_hw_dma_bd_release() 254 phys_addr = nixge_hw_dma_bd_get_addr(&priv->rx_bd_v[i], in nixge_hw_dma_bd_release() 262 nixge_hw_dma_bd_get_addr(&priv->rx_bd_v[i], in nixge_hw_dma_bd_release() 268 sizeof(*priv->rx_bd_v) * RX_BD_NUM, in nixge_hw_dma_bd_release() 269 priv->rx_bd_v, in nixge_hw_dma_bd_release() 309 priv->rx_bd_v = dma_alloc_coherent(ndev->dev.parent, in nixge_hw_dma_bd_init() 310 sizeof(*priv->rx_bd_v) * RX_BD_NUM, in nixge_hw_dma_bd_init() 312 if (!priv->rx_bd_v) in nixge_hw_dma_bd_init() 323 nixge_hw_dma_bd_set_next(&priv->rx_bd_v[i], in nixge_hw_dma_bd_init() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/xilinx/ |
D | xilinx_axienet_main.c | 198 if (!lp->rx_bd_v) in axienet_dma_bd_release() 207 if (!lp->rx_bd_v[i].skb) in axienet_dma_bd_release() 210 dev_kfree_skb(lp->rx_bd_v[i].skb); in axienet_dma_bd_release() 216 if (lp->rx_bd_v[i].cntrl) { in axienet_dma_bd_release() 217 phys = desc_get_phys_addr(lp, &lp->rx_bd_v[i]); in axienet_dma_bd_release() 224 sizeof(*lp->rx_bd_v) * lp->rx_bd_num, in axienet_dma_bd_release() 225 lp->rx_bd_v, in axienet_dma_bd_release() 258 lp->rx_bd_v = dma_alloc_coherent(ndev->dev.parent, in axienet_dma_bd_init() 259 sizeof(*lp->rx_bd_v) * lp->rx_bd_num, in axienet_dma_bd_init() 261 if (!lp->rx_bd_v) in axienet_dma_bd_init() [all …]
|
D | ll_temac_main.c | 311 dma_unmap_single(ndev->dev.parent, lp->rx_bd_v[i].phys, in temac_dma_bd_release() 316 if (lp->rx_bd_v) in temac_dma_bd_release() 318 sizeof(*lp->rx_bd_v) * lp->rx_bd_num, in temac_dma_bd_release() 319 lp->rx_bd_v, lp->rx_bd_p); in temac_dma_bd_release() 349 lp->rx_bd_v = dma_alloc_coherent(ndev->dev.parent, in temac_dma_bd_init() 350 sizeof(*lp->rx_bd_v) * lp->rx_bd_num, in temac_dma_bd_init() 352 if (!lp->rx_bd_v) in temac_dma_bd_init() 361 lp->rx_bd_v[i].next = cpu_to_be32(lp->rx_bd_p in temac_dma_bd_init() 362 + sizeof(*lp->rx_bd_v) * ((i + 1) % lp->rx_bd_num)); in temac_dma_bd_init() 376 lp->rx_bd_v[i].phys = cpu_to_be32(skb_dma_addr); in temac_dma_bd_init() [all …]
|
D | ll_temac.h | 373 struct cdmac_bd *rx_bd_v; member
|
D | xilinx_axienet.h | 450 struct axidma_bd *rx_bd_v; member
|