Home
last modified time | relevance | path

Searched refs:old_tx (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/amd/
Dsun3lance.c154 int old_tx, old_rx; /* ring entry to be processed */ member
459 lp->old_rx = lp->old_tx = 0; in lance_init_ring()
541 lp->old_tx, lp->new_tx, in lance_start_xmit()
675 int old_tx = lp->old_tx; in lance_interrupt() local
687 while( old_tx != lp->new_tx) { in lance_interrupt()
688 struct lance_tx_head *head = &(MEM->tx_head[old_tx]); in lance_interrupt()
690 DPRINTK(3, ("on tx_ring %d\n", old_tx)); in lance_interrupt()
718 DPRINTK(3, ("cleared tx ring %d\n", old_tx)); in lance_interrupt()
720 old_tx = (old_tx +1) & TX_RING_MOD_MASK; in lance_interrupt()
723 lp->old_tx = old_tx; in lance_interrupt()
/drivers/net/ethernet/dlink/
Ddl2k.c470 np->old_tx = 0; in rio_reset_ring()
756 if ((np->cur_tx - np->old_tx + TX_RING_SIZE) % TX_RING_SIZE in start_xmit()
808 if (np->cur_tx != np->old_tx) in rio_interrupt()
817 int entry = np->old_tx % TX_RING_SIZE; in rio_free_tx()
849 np->old_tx = entry; in rio_free_tx()
855 ((np->cur_tx - np->old_tx + TX_RING_SIZE) % TX_RING_SIZE in rio_free_tx()
890 np->old_tx * sizeof (struct netdev_desc)); in tx_error()
Ddl2k.h394 unsigned long cur_tx, old_tx; member