Searched refs:rx_bd_v (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/net/ethernet/ni/ |
H A D | nixge.c | 197 struct nixge_hw_dma_bd *rx_bd_v; member 251 if (priv->rx_bd_v) { in nixge_hw_dma_bd_release() 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() 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() 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 …]
|
/openbmc/linux/drivers/net/ethernet/xilinx/ |
H A D | xilinx_axienet_main.c | 175 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() 194 phys = desc_get_phys_addr(lp, &lp->rx_bd_v[i]); 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() 265 (sizeof(*lp->rx_bd_v) * (lp->rx_bd_num - 1))); in axienet_dma_start() 304 lp->rx_bd_v = dma_alloc_coherent(lp->dev, in axienet_dma_bd_init() 305 sizeof(*lp->rx_bd_v) * lp->rx_bd_num, in axienet_dma_bd_init() [all …]
|
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 | ll_temac.h | 383 struct cdmac_bd *rx_bd_v; member
|
H A D | xilinx_axienet.h | 466 struct axidma_bd *rx_bd_v; member
|