Home
last modified time | relevance | path

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

/linux-3.3/drivers/net/ethernet/calxeda/
Dxgmac.c401 #define DMA_TX_RING_SZ 128 macro
403 #define TX_THRESH (DMA_TX_RING_SZ/4)
730 priv->tx_skbuff = kzalloc(sizeof(struct sk_buff *) * DMA_TX_RING_SZ, in xgmac_dma_desc_rings_init()
736 DMA_TX_RING_SZ * in xgmac_dma_desc_rings_init()
756 desc_init_tx_desc(priv->dma_tx, DMA_TX_RING_SZ); in xgmac_dma_desc_rings_init()
802 for (i = 0; i < DMA_TX_RING_SZ; i++) { in xgmac_free_tx_skbufs()
830 DMA_TX_RING_SZ * sizeof(struct xgmac_dma_desc), in xgmac_free_dma_desc_rings()
858 while (dma_ring_cnt(priv->tx_head, priv->tx_tail, DMA_TX_RING_SZ)) { in xgmac_tx_complete()
878 priv->tx_tail = dma_ring_incr(entry, DMA_TX_RING_SZ); in xgmac_tx_complete()
886 DMA_TX_RING_SZ); in xgmac_tx_complete()
[all …]