Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/amd/
Dsun3lance.c154 int old_tx, old_rx; /* ring entry to be processed */ member
457 lp->old_rx = lp->old_tx = 0; in lance_init_ring()
539 lp->old_tx, lp->new_tx, in lance_start_xmit()
673 int old_tx = lp->old_tx; in lance_interrupt() local
685 while( old_tx != lp->new_tx) { in lance_interrupt()
686 struct lance_tx_head *head = &(MEM->tx_head[old_tx]); in lance_interrupt()
688 DPRINTK(3, ("on tx_ring %d\n", old_tx)); in lance_interrupt()
716 DPRINTK(3, ("cleared tx ring %d\n", old_tx)); in lance_interrupt()
718 old_tx = (old_tx +1) & TX_RING_MOD_MASK; in lance_interrupt()
721 lp->old_tx = old_tx; in lance_interrupt()
/linux-6.6.21/drivers/net/ethernet/dlink/
Ddl2k.c469 np->old_tx = 0; in rio_reset_ring()
755 if ((np->cur_tx - np->old_tx + TX_RING_SIZE) % TX_RING_SIZE in start_xmit()
807 if (np->cur_tx != np->old_tx) in rio_interrupt()
816 int entry = np->old_tx % TX_RING_SIZE; in rio_free_tx()
846 np->old_tx = entry; in rio_free_tx()
852 ((np->cur_tx - np->old_tx + TX_RING_SIZE) % TX_RING_SIZE in rio_free_tx()
887 np->old_tx * sizeof (struct netdev_desc)); in tx_error()
Ddl2k.h394 unsigned long cur_tx, old_tx; member