Searched refs:rx_bd_v (Results 1 – 5 of 5) sorted by relevance
/linux-5.19.10/drivers/net/ethernet/ni/ |
D | nixge.c | 198 struct nixge_hw_dma_bd *rx_bd_v; member 253 phys_addr = nixge_hw_dma_bd_get_addr(&priv->rx_bd_v[i], in nixge_hw_dma_bd_release() 261 nixge_hw_dma_bd_get_addr(&priv->rx_bd_v[i], in nixge_hw_dma_bd_release() 266 if (priv->rx_bd_v) 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() 308 priv->rx_bd_v = dma_alloc_coherent(ndev->dev.parent, in nixge_hw_dma_bd_init() 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() [all …]
|
/linux-5.19.10/drivers/net/ethernet/xilinx/ |
D | xilinx_axienet_main.c | 174 if (!lp->rx_bd_v) in axienet_dma_bd_release() 183 if (!lp->rx_bd_v[i].skb) in axienet_dma_bd_release() 186 dev_kfree_skb(lp->rx_bd_v[i].skb); in axienet_dma_bd_release() 192 if (lp->rx_bd_v[i].cntrl) { in axienet_dma_bd_release() 193 phys = desc_get_phys_addr(lp, &lp->rx_bd_v[i]); in axienet_dma_bd_release() 200 sizeof(*lp->rx_bd_v) * lp->rx_bd_num, in axienet_dma_bd_release() 201 lp->rx_bd_v, in axienet_dma_bd_release() 264 (sizeof(*lp->rx_bd_v) * (lp->rx_bd_num - 1))); in axienet_dma_start() 303 lp->rx_bd_v = dma_alloc_coherent(lp->dev, in axienet_dma_bd_init() 304 sizeof(*lp->rx_bd_v) * lp->rx_bd_num, 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() 377 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 | 457 struct axidma_bd *rx_bd_v; member
|