Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/sis/
Dsis900.h323 #define NUM_TX_DESC 16 /* Number of Tx descriptor registers. */ macro
325 #define TX_TOTAL_SIZE NUM_TX_DESC*sizeof(BufferDesc)
Dsis190.c50 #define NUM_TX_DESC 64 /* [8..1024] */ macro
52 #define TX_RING_BYTES (NUM_TX_DESC * sizeof(struct TxDesc))
280 struct sk_buff *Tx_skbuff[NUM_TX_DESC];
699 queue_stopped = (pending == NUM_TX_DESC); in sis190_tx_interrupt()
702 unsigned int entry = dirty_tx % NUM_TX_DESC; in sis190_tx_interrupt()
820 memset(tp->Tx_skbuff, 0x0, NUM_TX_DESC * sizeof(struct sk_buff *)); in sis190_init_ring()
1115 for (i = 0; i < NUM_TX_DESC; i++) { in sis190_tx_clear()
1199 entry = tp->cur_tx % NUM_TX_DESC; in sis190_start_xmit()
1223 if (entry == (NUM_TX_DESC - 1)) in sis190_start_xmit()
1243 if ((tp->cur_tx - NUM_TX_DESC) == dirty_tx) { in sis190_start_xmit()
Dsis900.c183 struct sk_buff *tx_skbuff[NUM_TX_DESC];
1140 for (i = 0; i < NUM_TX_DESC; i++) { in sis900_init_tx_ring()
1144 ((i+1)%NUM_TX_DESC)*sizeof(BufferDesc); in sis900_init_tx_ring()
1569 for (i = 0; i < NUM_TX_DESC; i++) { in sis900_tx_timeout()
1620 entry = sis_priv->cur_tx % NUM_TX_DESC; in sis900_start_xmit()
1649 } else if (count_dirty_tx < NUM_TX_DESC) { in sis900_start_xmit()
1910 entry = sis_priv->dirty_tx % NUM_TX_DESC; in sis900_finish_xmit()
1953 sis_priv->cur_tx - sis_priv->dirty_tx < NUM_TX_DESC - 4) { in sis900_finish_xmit()
2001 for (i = 0; i < NUM_TX_DESC; i++) { in sis900_close()
/Linux-v6.6/drivers/net/ethernet/realtek/
D8139too.c184 #define NUM_TX_DESC 4 macro
194 #define TX_BUF_TOT_LEN (TX_BUF_SIZE * NUM_TX_DESC)
596 unsigned char *tx_buf[NUM_TX_DESC]; /* Tx bounce buffers */
1427 for (i = 0; i < NUM_TX_DESC; i++) in rtl8139_hw_start()
1457 for (i = 0; i < NUM_TX_DESC; i++) in rtl8139_init_ring()
1674 for (i = 0; i < NUM_TX_DESC; i++) in rtl8139_tx_timeout_task()
1677 i == tp->dirty_tx % NUM_TX_DESC ? in rtl8139_tx_timeout_task()
1725 entry = tp->cur_tx % NUM_TX_DESC; in rtl8139_start_xmit()
1751 if ((tp->cur_tx - NUM_TX_DESC) == tp->dirty_tx) in rtl8139_start_xmit()
1774 int entry = dirty_tx % NUM_TX_DESC; in rtl8139_tx_interrupt()
[all …]
Dr8169_main.c68 #define NUM_TX_DESC 256 /* Number of Tx descriptor registers */ macro
70 #define R8169_TX_RING_BYTES (NUM_TX_DESC * sizeof(struct TxDesc))
608 struct ring_info tx_skb[NUM_TX_DESC]; /* Tx data buffers */
1941 data->tx_max_pending = NUM_TX_DESC; in rtl8169_get_ringparam()
1942 data->tx_pending = NUM_TX_DESC; in rtl8169_get_ringparam()
3897 unsigned int entry = (start + i) % NUM_TX_DESC; in rtl8169_tx_clear_range()
3913 rtl8169_tx_clear_range(tp, tp->dirty_tx, NUM_TX_DESC); in rtl8169_tx_clear()
3997 if (entry == NUM_TX_DESC - 1) in rtl8169_tx_map()
4019 entry = (entry + 1) % NUM_TX_DESC; in rtl8169_xmit_frags()
4179 return READ_ONCE(tp->dirty_tx) + NUM_TX_DESC - READ_ONCE(tp->cur_tx); in rtl_tx_slots_avail()
[all …]
/Linux-v6.6/drivers/net/ethernet/silan/
Dsc92031.c62 #define NUM_TX_DESC 4 macro
69 #define TX_BUF_TOT_LEN (TX_BUF_SIZE * NUM_TX_DESC)
658 entry = priv->tx_tail % NUM_TX_DESC; in _sc92031_tx_tasklet()
953 BUG_ON(priv->tx_head - priv->tx_tail >= NUM_TX_DESC); in sc92031_start_xmit()
955 entry = priv->tx_head++ % NUM_TX_DESC; in sc92031_start_xmit()
979 if (priv->tx_head - priv->tx_tail >= NUM_TX_DESC) in sc92031_start_xmit()