Lines Matching refs:dma_tx
360 struct xgmac_dma_desc *dma_tx; member
750 priv->dma_tx = dma_alloc_coherent(priv->device, in xgmac_dma_desc_rings_init()
755 if (!priv->dma_tx) in xgmac_dma_desc_rings_init()
760 priv->dma_rx, priv->dma_tx, in xgmac_dma_desc_rings_init()
771 desc_init_tx_desc(priv->dma_tx, DMA_TX_RING_SZ); in xgmac_dma_desc_rings_init()
822 p = priv->dma_tx + i; in xgmac_free_tx_skbufs()
843 if (priv->dma_tx) { in xgmac_free_dma_desc_rings()
846 priv->dma_tx, priv->dma_tx_phy); in xgmac_free_dma_desc_rings()
847 priv->dma_tx = NULL; in xgmac_free_dma_desc_rings()
871 struct xgmac_dma_desc *p = priv->dma_tx + entry; in xgmac_tx_complete()
923 desc_init_tx_desc(priv->dma_tx, DMA_TX_RING_SZ); in xgmac_tx_timeout_work()
1092 desc = priv->dma_tx + entry; in xgmac_xmit()
1115 desc = priv->dma_tx + entry; in xgmac_xmit()
1153 desc = priv->dma_tx + entry; in xgmac_xmit()