Home
last modified time | relevance | path

Searched refs:DMA_TX_RING_SZ (Results 1 – 1 of 1) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/calxeda/
Dxgmac.c401 #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()
[all …]