Lines Matching refs:tx_new
487 int rx_new, tx_new; /* The next free ring entry */
506 ** The transmit ring full condition is described by the tx_old and tx_new
508 ** tx_old = tx_new Empty ring
509 ** tx_old = tx_new+1 Full ring
510 ** tx_old+txRingMask = tx_new Full ring (wrapped condition)
512 #define TX_BUFFS_AVAIL ((lp->tx_old<=lp->tx_new)?\
513 lp->tx_old+lp->txRingMask-lp->tx_new:\
514 lp->tx_old -lp->tx_new-1)
884 lp->rx_new = lp->tx_new = 0;
1123 for (entry = lp->tx_old; entry != lp->tx_new; entry = lp->tx_old) {
1246 while (lp->tx_old != lp->tx_new); /* Wait for the ring to empty */
1790 entry = lp->tx_new; /* Ring around buffer number. */
1832 lp->tx_new = (++end) & lp->txRingMask; /* update current pointers */
1942 while (lp->tx_old != lp->tx_new)
1956 while (lp->tx_old != lp->tx_new)
1972 while (lp->tx_old != lp->tx_new)