Lines Matching refs:DMA_TX_RING_SZ
401 #define DMA_TX_RING_SZ 128 macro
403 #define TX_THRESH (DMA_TX_RING_SZ/4)
411 dma_ring_space((p)->tx_head, (p)->tx_tail, DMA_TX_RING_SZ)
755 priv->tx_skbuff = kzalloc(sizeof(struct sk_buff *) * DMA_TX_RING_SZ, in xgmac_dma_desc_rings_init()
761 DMA_TX_RING_SZ * in xgmac_dma_desc_rings_init()
781 desc_init_tx_desc(priv->dma_tx, DMA_TX_RING_SZ); in xgmac_dma_desc_rings_init()
828 for (i = 0; i < DMA_TX_RING_SZ; i++) { in xgmac_free_tx_skbufs()
855 DMA_TX_RING_SZ * sizeof(struct xgmac_dma_desc), in xgmac_free_dma_desc_rings()
878 while (dma_ring_cnt(priv->tx_head, priv->tx_tail, DMA_TX_RING_SZ)) { in xgmac_tx_complete()
904 priv->tx_tail = dma_ring_incr(entry, DMA_TX_RING_SZ); in xgmac_tx_complete()
933 desc_init_tx_desc(priv->dma_tx, DMA_TX_RING_SZ); in xgmac_tx_timeout_work()
1096 priv->tx_irq_cnt = (priv->tx_irq_cnt + 1) & (DMA_TX_RING_SZ/4 - 1); in xgmac_xmit()
1124 entry = dma_ring_incr(entry, DMA_TX_RING_SZ); in xgmac_xmit()
1146 priv->tx_head = dma_ring_incr(entry, DMA_TX_RING_SZ); in xgmac_xmit()
1162 entry = dma_ring_incr(entry, DMA_TX_RING_SZ); in xgmac_xmit()