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

/linux-master/drivers/net/ethernet/sis/
H A Dsis900.h323 #define NUM_TX_DESC 16 /* Number of Tx descriptor registers. */ macro
325 #define TX_TOTAL_SIZE NUM_TX_DESC*sizeof(BufferDesc)
H A 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);
702 unsigned int entry = dirty_tx % NUM_TX_DESC;
820 memset(tp->Tx_skbuff, 0x0, NUM_TX_DESC * sizeof(struct sk_buff *));
1115 for (i = 0; i < NUM_TX_DESC; i++) {
1199 entry = tp->cur_tx % NUM_TX_DESC;
1223 if (entry == (NUM_TX_DESC - 1))
1243 if ((tp->cur_tx - NUM_TX_DESC)
[all...]
H A Dsis900.c183 struct sk_buff *tx_skbuff[NUM_TX_DESC];
1140 for (i = 0; i < NUM_TX_DESC; i++) {
1144 ((i+1)%NUM_TX_DESC)*sizeof(BufferDesc);
1569 for (i = 0; i < NUM_TX_DESC; i++) {
1620 entry = sis_priv->cur_tx % NUM_TX_DESC;
1649 } else if (count_dirty_tx < NUM_TX_DESC) {
1910 entry = sis_priv->dirty_tx % NUM_TX_DESC;
1953 sis_priv->cur_tx - sis_priv->dirty_tx < NUM_TX_DESC - 4) {
2001 for (i = 0; i < NUM_TX_DESC; i++) {
/linux-master/drivers/net/ethernet/realtek/
H A 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++)
1457 for (i = 0; i < NUM_TX_DESC; i++)
1674 for (i = 0; i < NUM_TX_DESC; i++)
1677 i == tp->dirty_tx % NUM_TX_DESC ?
1725 entry = tp->cur_tx % NUM_TX_DESC;
1751 if ((tp->cur_tx - NUM_TX_DESC) == tp->dirty_tx)
1774 int entry = dirty_tx % NUM_TX_DESC;
[all...]
H A Dr8169_main.c65 #define NUM_TX_DESC 256 /* Number of Tx descriptor registers */ macro
67 #define R8169_TX_RING_BYTES (NUM_TX_DESC * sizeof(struct TxDesc))
620 struct ring_info tx_skb[NUM_TX_DESC]; /* Tx data buffers */
2128 data->tx_max_pending = NUM_TX_DESC;
2129 data->tx_pending = NUM_TX_DESC;
4031 unsigned int entry = (start + i) % NUM_TX_DESC;
4047 rtl8169_tx_clear_range(tp, tp->dirty_tx, NUM_TX_DESC);
4131 if (entry == NUM_TX_DESC - 1)
4153 entry = (entry + 1) % NUM_TX_DESC;
4312 return READ_ONCE(tp->dirty_tx) + NUM_TX_DESC
[all...]
/linux-master/drivers/net/ethernet/silan/
H A 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;
953 BUG_ON(priv->tx_head - priv->tx_tail >= NUM_TX_DESC);
955 entry = priv->tx_head++ % NUM_TX_DESC;
979 if (priv->tx_head - priv->tx_tail >= NUM_TX_DESC)

Completed in 239 milliseconds