Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/cirrus/
Dep93xx_eth.c34 #define TX_QUEUE_ENTRIES 8 macro
151 struct ep93xx_tdesc tdesc[TX_QUEUE_ENTRIES];
153 struct ep93xx_tstat tstat[TX_QUEUE_ENTRIES];
166 void *tx_buf[TX_QUEUE_ENTRIES];
365 ep->tx_pointer = (ep->tx_pointer + 1) & (TX_QUEUE_ENTRIES - 1); in ep93xx_xmit()
379 if (ep->tx_pending == TX_QUEUE_ENTRIES) in ep93xx_xmit()
430 ep->tx_clean_pointer = (entry + 1) & (TX_QUEUE_ENTRIES - 1); in ep93xx_tx_complete()
431 if (ep->tx_pending == TX_QUEUE_ENTRIES) in ep93xx_tx_complete()
481 for (i = 0; i < TX_QUEUE_ENTRIES; i++) { in ep93xx_free_buffers()
524 for (i = 0; i < TX_QUEUE_ENTRIES; i++) { in ep93xx_alloc_buffers()
[all …]
/linux-4.1.27/drivers/net/ethernet/faraday/
Dftmac100.c41 #define TX_QUEUE_ENTRIES 16 /* must be power of 2 */ macro
59 struct ftmac100_txdes txdes[TX_QUEUE_ENTRIES];
561 return (pointer + 1) & (TX_QUEUE_ENTRIES - 1); in ftmac100_next_tx_pointer()
656 if (priv->tx_pending == TX_QUEUE_ENTRIES) in ftmac100_xmit()
715 for (i = 0; i < TX_QUEUE_ENTRIES; i++) { in ftmac100_free_buffers()
753 ftmac100_txdes_set_end_of_ring(&priv->descs->txdes[TX_QUEUE_ENTRIES - 1]); in ftmac100_alloc_buffers()
Dftgmac100.c41 #define TX_QUEUE_ENTRIES 512 /* must be power of 2 */ macro
51 struct ftgmac100_txdes txdes[TX_QUEUE_ENTRIES];
600 return (pointer + 1) & (TX_QUEUE_ENTRIES - 1); in ftgmac100_next_tx_pointer()
701 if (priv->tx_pending == TX_QUEUE_ENTRIES) in ftgmac100_xmit()
760 for (i = 0; i < TX_QUEUE_ENTRIES; i++) { in ftgmac100_free_buffers()
797 ftgmac100_txdes_set_end_of_ring(&priv->descs->txdes[TX_QUEUE_ENTRIES - 1]); in ftgmac100_alloc_buffers()