Searched refs:rx_bd_v (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/net/ethernet/xilinx/ |
| H A D | ll_temac_main.c | 308 dma_unmap_single(ndev->dev.parent, lp->rx_bd_v[i].phys, in temac_dma_bd_release() 312 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() [all …]
|
| H A D | xilinx_axienet_main.c | 195 if (!lp->rx_bd_v) in axienet_dma_bd_release() 204 if (!lp->rx_bd_v[i].skb) in axienet_dma_bd_release() 207 dev_kfree_skb(lp->rx_bd_v[i].skb); in axienet_dma_bd_release() 213 if (lp->rx_bd_v[i].cntrl) { in axienet_dma_bd_release() 214 phys = desc_get_phys_addr(lp, &lp->rx_bd_v[i]); in axienet_dma_bd_release() 221 sizeof(*lp->rx_bd_v) * lp->rx_bd_num, in axienet_dma_bd_release() 222 lp->rx_bd_v, in axienet_dma_bd_release() 305 (sizeof(*lp->rx_bd_v) * (lp->rx_bd_num - 1))); in axienet_dma_start() 355 lp->rx_bd_v = dma_alloc_coherent(lp->dev, in axienet_dma_bd_init() 356 sizeof(*lp->rx_bd_v) * lp->rx_bd_num, in axienet_dma_bd_init() [all …]
|
| H A D | ll_temac.h | 383 struct cdmac_bd *rx_bd_v; member
|
| H A D | xilinx_axienet.h | 578 struct axidma_bd *rx_bd_v; member
|