Home
last modified time | relevance | path

Searched refs:tx_old (Results 1 – 20 of 20) sorted by relevance

/linux-2.4.37.9/drivers/net/
D7990.h112 int rx_old, tx_old; member
241 #define TX_BUFFS_AVAIL ((lp->tx_old<=lp->tx_new)?\
242 lp->tx_old+lp->tx_ring_mod_mask-lp->tx_new:\
243 lp->tx_old - lp->tx_new-1)
Dsgiseeq.c60 #define TX_BUFFS_AVAIL(sp) ((sp->tx_old <= sp->tx_new) ? \
61 sp->tx_old + (SEEQ_TX_BUFFERS - 1) - sp->tx_new : \
62 sp->tx_old - sp->tx_new - 1)
99 unsigned int rx_old, tx_old; member
161 sp->rx_old = sp->tx_old = 0; in seeq_init_ring()
231 gpriv->rx_new, gpriv->rx_old, gpriv->tx_new, gpriv->tx_old); in sgiseeq_dump_rings()
406 for (j = sp->tx_old; j != sp->tx_new; j = NEXT_TX(j)) { in sgiseeq_tx()
419 sp->tx_old = NEXT_TX(sp->tx_old); in sgiseeq_tx()
441 if (sp->tx_old != sp->tx_new) in sgiseeq_interrupt()
534 if (sp->tx_old != sp->tx_new) { in sgiseeq_start_xmit()
[all …]
Dsunbmac.h276 (((bp)->tx_old <= (bp)->tx_new) ? \
277 (bp)->tx_old + (TX_RING_SIZE - 1) - (bp)->tx_new : \
278 (bp)->tx_old - (bp)->tx_new - 1)
318 int rx_new, tx_new, rx_old, tx_old; member
Dsunqe.h299 (((qp)->tx_old <= (qp)->tx_new) ? \
300 (qp)->tx_old + (TX_RING_SIZE - 1) - (qp)->tx_new : \
301 (qp)->tx_old - (qp)->tx_new - 1)
340 int tx_new, tx_old; /* TX ring extents */ member
Dsunhme.h364 (((hp)->tx_old <= (hp)->tx_new) ? \
365 (hp)->tx_old + (TX_RING_SIZE - 1) - (hp)->tx_new : \
366 (hp)->tx_old - (hp)->tx_new - 1)
420 int rx_new, tx_new, rx_old, tx_old; member
Da2065.c122 int rx_old, tx_old; member
145 #define TX_BUFFS_AVAIL ((lp->tx_old<=lp->tx_new)?\
146 lp->tx_old+lp->tx_ring_mod_mask-lp->tx_new:\
147 lp->tx_old - lp->tx_new-1)
188 lp->rx_old = lp->tx_old = 0; in lance_init_ring()
367 j = lp->tx_old; in lance_tx()
432 lp->tx_old = j; in lance_tx()
690 if (lp->tx_old != lp->tx_new) { in lance_set_multicast()
Dsungem.h906 (((GP)->tx_old <= (GP)->tx_new) ? \
907 (GP)->tx_old + (TX_RING_SIZE - 1) - (GP)->tx_new : \
908 (GP)->tx_old - (GP)->tx_new - 1)
962 int tx_new, tx_old; member
Ddepca.c402 int rx_old, tx_old; /* The ring entries to be free()ed. */ member
427 #define TX_BUFFS_AVAIL ((lp->tx_old<=lp->tx_new)?\
428 lp->tx_old+lp->txRingMask-lp->tx_new:\
429 lp->tx_old -lp->tx_new-1)
807 lp->rx_old = lp->tx_old = 0; in depca_init_ring()
1049 for (entry = lp->tx_old; entry != lp->tx_new; entry = lp->tx_old) { in depca_tx()
1077 lp->tx_old = (++lp->tx_old) & lp->txRingMask; in depca_tx()
1184 while (lp->tx_old != lp->tx_new); /* Wait for the ring to empty */ in set_multicast_list()
1922 while (lp->tx_old != lp->tx_new) in depca_ioctl()
1936 while (lp->tx_old != lp->tx_new) in depca_ioctl()
[all …]
Ddeclance.c253 int rx_old, tx_old; member
270 #define TX_BUFFS_AVAIL ((lp->tx_old<=lp->tx_new)?\
271 lp->tx_old+TX_RING_MOD_MASK-lp->tx_new:\
272 lp->tx_old - lp->tx_new-1)
446 lp->rx_old = lp->tx_old = 0; in lance_init_ring()
627 j = lp->tx_old; in lance_tx()
691 lp->tx_old = j; in lance_tx()
993 if (lp->tx_old != lp->tx_new) { in lance_set_multicast()
Dsunlance.c245 int rx_old, tx_old; member
268 #define TX_BUFFS_AVAIL ((lp->tx_old<=lp->tx_new)?\
269 lp->tx_old+TX_RING_MOD_MASK-lp->tx_new:\
270 lp->tx_old - lp->tx_new-1)
330 lp->rx_old = lp->tx_old = 0; in lance_init_ring_dvma()
386 lp->rx_old = lp->tx_old = 0; in lance_init_ring_pio()
577 j = lp->tx_old; in lance_tx_dvma()
640 lp->tx_old = j; in lance_tx_dvma()
749 j = lp->tx_old; in lance_tx_pio()
812 lp->tx_old = j; in lance_tx_pio()
[all …]
D7990.c115 lp->rx_old = lp->tx_old = 0; in lance_init_ring()
334 j = lp->tx_old; in lance_tx()
399 lp->tx_old = j; in lance_tx()
615 while (lp->tx_old != lp->tx_new) in lance_set_multicast()
Disa-skeleton.c450 entry = np->tx_old; in net_tx()
459 np->tx_old = entry; in net_tx()
Dmyri_sbus.h278 int tx_old; /* To speed up tx cleaning. */ member
Dsunqe.c124 qep->rx_new = qep->rx_old = qep->tx_new = qep->tx_old = 0; in qe_init_rings()
529 int elem = qep->tx_old; in qe_tx_reclaim()
538 qep->tx_old = elem; in qe_tx_reclaim()
Dsunbmac.c214 bp->rx_new = bp->rx_old = bp->tx_new = bp->tx_old = 0; in bigmac_init_rings()
758 elem = bp->tx_old; in bigmac_tx()
783 bp->tx_old = elem; in bigmac_tx()
Dmyri_sbus.c265 mp->tx_old = 0; in myri_clean_rings()
354 int entry = mp->tx_old; in myri_tx()
372 mp->tx_old = entry; in myri_tx()
Dsunhme.c100 int tx_new, tx_old; member
120 tlp->tx_old = hp->tx_old; in tx_add_log()
134 tx_log[this].tx_new, tx_log[this].tx_old, in tx_dump_log()
1278 hp->rx_new = hp->rx_old = hp->tx_new = hp->tx_old = 0; in happy_meal_init_rings()
1945 elem = hp->tx_old; in happy_meal_tx()
1984 hp->tx_old = elem; in happy_meal_tx()
Dde4x5.c796 int tx_new, tx_old; /* TX descriptor ring pointers */ member
905 #define TX_BUFFS_AVAIL ((lp->tx_old<=lp->tx_new)?\
906 lp->tx_old+lp->txRingSize-lp->tx_new-1:\
907 lp->tx_old -lp->tx_new-1)
909 #define TX_PKT_PENDING (lp->tx_old != lp->tx_new)
1507 lp->tx_new = lp->tx_old = 0; in de4x5_sw_reset()
1540 lp->tx_old = lp->tx_new; in de4x5_sw_reset()
1793 for (entry = lp->tx_old; entry != lp->tx_new; entry = lp->tx_old) { in de4x5_tx()
1823 lp->tx_old = (++lp->tx_old) % lp->txRingSize; in de4x5_tx()
3760 lp->tx_new = lp->tx_old = 0; in de4x5_rst_desc_ring()
Dsungem.c597 entry = gp->tx_old; in gem_tx()
642 gp->tx_old = entry; in gem_tx()
1494 gp->rx_new = gp->rx_old = gp->tx_new = gp->tx_old = 0; in gem_init_rings()
/linux-2.4.37.9/drivers/net/e1000/
De1000_ethtool.c648 struct e1000_tx_ring *txdr, *tx_old; in e1000_set_ringparam() local
664 tx_old = adapter->tx_ring; in e1000_set_ringparam()
705 adapter->tx_ring = tx_old; in e1000_set_ringparam()
708 kfree(tx_old); in e1000_set_ringparam()
722 adapter->tx_ring = tx_old; in e1000_set_ringparam()