Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/cirrus/
Dep93xx_eth.c29 #define TX_QUEUE_ENTRIES 8 macro
146 struct ep93xx_tdesc tdesc[TX_QUEUE_ENTRIES];
148 struct ep93xx_tstat tstat[TX_QUEUE_ENTRIES];
161 void *tx_buf[TX_QUEUE_ENTRIES];
343 ep->tx_pointer = (ep->tx_pointer + 1) & (TX_QUEUE_ENTRIES - 1); in ep93xx_xmit()
357 if (ep->tx_pending == TX_QUEUE_ENTRIES) in ep93xx_xmit()
408 ep->tx_clean_pointer = (entry + 1) & (TX_QUEUE_ENTRIES - 1); in ep93xx_tx_complete()
409 if (ep->tx_pending == TX_QUEUE_ENTRIES) in ep93xx_tx_complete()
462 for (i = 0; i < TX_QUEUE_ENTRIES; i++) { in ep93xx_free_buffers()
506 for (i = 0; i < TX_QUEUE_ENTRIES; i++) { in ep93xx_alloc_buffers()
[all …]
/Linux-v6.1/drivers/net/ethernet/faraday/
Dftmac100.c28 #define TX_QUEUE_ENTRIES 16 /* must be power of 2 */ macro
46 struct ftmac100_txdes txdes[TX_QUEUE_ENTRIES];
549 return (pointer + 1) & (TX_QUEUE_ENTRIES - 1); in ftmac100_next_tx_pointer()
644 if (priv->tx_pending == TX_QUEUE_ENTRIES) in ftmac100_xmit()
703 for (i = 0; i < TX_QUEUE_ENTRIES; i++) { in ftmac100_free_buffers()
740 ftmac100_txdes_set_end_of_ring(&priv->descs->txdes[TX_QUEUE_ENTRIES - 1]); in ftmac100_alloc_buffers()