Searched refs:NUM_TX_DESC (Results 1 – 6 of 6) sorted by relevance
323 #define NUM_TX_DESC 16 /* Number of Tx descriptor registers. */ macro325 #define TX_TOTAL_SIZE NUM_TX_DESC*sizeof(BufferDesc)
50 #define NUM_TX_DESC 64 /* [8..1024] */ macro52 #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()
183 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()
184 #define NUM_TX_DESC 4 macro194 #define TX_BUF_TOT_LEN (TX_BUF_SIZE * NUM_TX_DESC)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()1817 if (tp->cur_tx - dirty_tx > NUM_TX_DESC) { in rtl8139_tx_interrupt()[all …]
66 #define NUM_TX_DESC 256 /* Number of Tx descriptor registers */ macro649 struct ring_info tx_skb[NUM_TX_DESC]; /* Tx data buffers */2159 data->tx_max_pending = NUM_TX_DESC; in rtl8169_get_ringparam()2160 data->tx_pending = NUM_TX_DESC; in rtl8169_get_ringparam()4075 unsigned int entry = (start + i) % NUM_TX_DESC; in rtl8169_tx_clear_range()4091 rtl8169_tx_clear_range(tp, tp->dirty_tx, NUM_TX_DESC); in rtl8169_tx_clear()4175 if (entry == NUM_TX_DESC - 1) in rtl8169_tx_map()4197 entry = (entry + 1) % NUM_TX_DESC; in rtl8169_xmit_frags()4383 unsigned int entry = tp->cur_tx % NUM_TX_DESC; in rtl8169_start_xmit()4414 entry = (entry + frags) % NUM_TX_DESC; in rtl8169_start_xmit()[all …]
62 #define NUM_TX_DESC 4 macro69 #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()