Lines Matching refs:cur_tx
222 int cur_rx, cur_tx; /* The next free ring entry */ member
689 lp->cur_rx = lp->cur_tx = 0; in lance_init_ring()
748 lp->dirty_tx, lp->cur_tx, in lance_tx_timeout()
815 entry = lp->cur_tx & TX_RING_MOD_MASK; in lance_start_xmit()
829 lp->cur_tx++; in lance_start_xmit()
830 while( lp->cur_tx >= TX_RING_SIZE && lp->dirty_tx >= TX_RING_SIZE ) { in lance_start_xmit()
831 lp->cur_tx -= TX_RING_SIZE; in lance_start_xmit()
885 while( dirty_tx < lp->cur_tx) { in lance_interrupt()
921 if (lp->cur_tx - dirty_tx >= TX_RING_SIZE) { in lance_interrupt()
924 dirty_tx, lp->cur_tx, lp->tx_full )); in lance_interrupt()
930 dirty_tx > lp->cur_tx - TX_RING_SIZE + 2) { in lance_interrupt()