Lines Matching refs:TX_RING_SIZE
164 #define TX_RING_SIZE 32
166 #define TX_TOTAL_SIZE TX_RING_SIZE*sizeof(struct TxFD)
201 struct sk_buff *tx_skbuff[TX_RING_SIZE];
431 ((dpriv->tx_current-1)%TX_RING_SIZE)*sizeof(struct TxFD);
496 for (i = 0; i < TX_RING_SIZE; i++) {
1158 next = dpriv->tx_current%TX_RING_SIZE;
1177 if (!((++dpriv->tx_current - dpriv->tx_dirty)%TX_RING_SIZE))
1551 if ((dpriv->tx_current - dpriv->tx_dirty)%TX_RING_SIZE)
1577 cur = dpriv->tx_dirty%TX_RING_SIZE;
1653 (dpriv->tx_dirty%TX_RING_SIZE)*
1896 int last = dpriv->tx_dirty%TX_RING_SIZE;
1930 memset(dpriv->tx_skbuff, 0, sizeof(struct sk_buff *)*TX_RING_SIZE);
1939 (++i%TX_RING_SIZE)*sizeof(*tx_fd));
1940 } while (i < TX_RING_SIZE);