Lines Matching refs:rx_bd_v
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()
324 + sizeof(*priv->rx_bd_v) * in nixge_hw_dma_bd_init()
333 nixge_hw_dma_bd_set_offset(&priv->rx_bd_v[i], (uintptr_t)skb); in nixge_hw_dma_bd_init()
338 nixge_hw_dma_bd_set_phys(&priv->rx_bd_v[i], phys); in nixge_hw_dma_bd_init()
340 priv->rx_bd_v[i].cntrl = NIXGE_MAX_JUMBO_FRAME_SIZE; in nixge_hw_dma_bd_init()
377 (sizeof(*priv->rx_bd_v) * (RX_BD_NUM - 1))); in nixge_hw_dma_bd_init()
605 cur_p = &priv->rx_bd_v[priv->rx_bd_ci]; in nixge_recv()
609 tail_p = priv->rx_bd_p + sizeof(*priv->rx_bd_v) * in nixge_recv()
658 cur_p = &priv->rx_bd_v[priv->rx_bd_ci]; in nixge_recv()
767 phys = nixge_hw_dma_bd_get_addr(&priv->rx_bd_v[priv->rx_bd_ci], in nixge_rx_irq()
813 cur_p = &lp->rx_bd_v[i]; in nixge_dma_err_handler()
855 (sizeof(*lp->rx_bd_v) * (RX_BD_NUM - 1))); in nixge_dma_err_handler()