Searched refs:DMA_TX_RING_SZ (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/calxeda/ |
H A D | xgmac.c | 391 #define DMA_TX_RING_SZ 128 macro 393 #define TX_THRESH (DMA_TX_RING_SZ/4) 401 dma_ring_space((p)->tx_head, (p)->tx_tail, DMA_TX_RING_SZ) 745 priv->tx_skbuff = kcalloc(DMA_TX_RING_SZ, sizeof(struct sk_buff *), in xgmac_dma_desc_rings_init() 751 DMA_TX_RING_SZ * in xgmac_dma_desc_rings_init() 771 desc_init_tx_desc(priv->dma_tx, DMA_TX_RING_SZ); in xgmac_dma_desc_rings_init() 818 for (i = 0; i < DMA_TX_RING_SZ; i++) { in xgmac_free_tx_skbufs() 845 DMA_TX_RING_SZ * sizeof(struct xgmac_dma_desc), in xgmac_free_dma_desc_rings() 868 while (dma_ring_cnt(priv->tx_head, priv->tx_tail, DMA_TX_RING_SZ)) { in xgmac_tx_complete() 894 priv->tx_tail = dma_ring_incr(entry, DMA_TX_RING_SZ); in xgmac_tx_complete() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/calxeda/ |
H A D | xgmac.c | 391 #define DMA_TX_RING_SZ 128 macro 393 #define TX_THRESH (DMA_TX_RING_SZ/4) 401 dma_ring_space((p)->tx_head, (p)->tx_tail, DMA_TX_RING_SZ) 745 priv->tx_skbuff = kcalloc(DMA_TX_RING_SZ, sizeof(struct sk_buff *), in xgmac_dma_desc_rings_init() 751 DMA_TX_RING_SZ * in xgmac_dma_desc_rings_init() 771 desc_init_tx_desc(priv->dma_tx, DMA_TX_RING_SZ); in xgmac_dma_desc_rings_init() 818 for (i = 0; i < DMA_TX_RING_SZ; i++) { in xgmac_free_tx_skbufs() 845 DMA_TX_RING_SZ * sizeof(struct xgmac_dma_desc), in xgmac_free_dma_desc_rings() 868 while (dma_ring_cnt(priv->tx_head, priv->tx_tail, DMA_TX_RING_SZ)) { in xgmac_tx_complete() 894 priv->tx_tail = dma_ring_incr(entry, DMA_TX_RING_SZ); in xgmac_tx_complete() [all...] |
Completed in 6 milliseconds