Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/cirrus/
H A 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 …]
/openbmc/linux/drivers/net/ethernet/faraday/
H A Dftmac100.c30 #define TX_QUEUE_ENTRIES 16 /* must be power of 2 */ macro
48 struct ftmac100_txdes txdes[TX_QUEUE_ENTRIES];
587 return (pointer + 1) & (TX_QUEUE_ENTRIES - 1); in ftmac100_next_tx_pointer()
682 if (priv->tx_pending == TX_QUEUE_ENTRIES) in ftmac100_xmit()
741 for (i = 0; i < TX_QUEUE_ENTRIES; i++) { in ftmac100_free_buffers()
778 ftmac100_txdes_set_end_of_ring(&priv->descs->txdes[TX_QUEUE_ENTRIES - 1]); in ftmac100_alloc_buffers()