Lines Matching refs:cur_tx
222 int cur_rx, cur_tx; /* The next free ring entry */ member
685 lp->cur_rx = lp->cur_tx = 0; in lance_init_ring()
744 lp->dirty_tx, lp->cur_tx, in lance_tx_timeout()
811 entry = lp->cur_tx & TX_RING_MOD_MASK; in lance_start_xmit()
825 lp->cur_tx++; in lance_start_xmit()
826 while( lp->cur_tx >= TX_RING_SIZE && lp->dirty_tx >= TX_RING_SIZE ) { in lance_start_xmit()
827 lp->cur_tx -= TX_RING_SIZE; in lance_start_xmit()
881 while( dirty_tx < lp->cur_tx) { in lance_interrupt()
917 if (lp->cur_tx - dirty_tx >= TX_RING_SIZE) { in lance_interrupt()
920 dirty_tx, lp->cur_tx, lp->tx_full )); in lance_interrupt()
926 dirty_tx > lp->cur_tx - TX_RING_SIZE + 2) { in lance_interrupt()