Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/amd/
H A D7990.h108 int rx_old, tx_old; member
234 #define TX_BUFFS_AVAIL ((lp->tx_old <= lp->tx_new) ? \
235 lp->tx_old + lp->tx_ring_mod_mask - lp->tx_new : \
236 lp->tx_old - lp->tx_new - 1)
H A Da2065.c112 int rx_old, tx_old; member
158 lp->rx_old = lp->tx_old = 0; in lance_init_ring()
333 j = lp->tx_old; in lance_tx()
398 lp->tx_old = j; in lance_tx()
405 if (lp->tx_old <= lp->tx_new) in lance_tx_buffs_avail()
406 return lp->tx_old + lp->tx_ring_mod_mask - lp->tx_new; in lance_tx_buffs_avail()
407 return lp->tx_old - lp->tx_new - 1; in lance_tx_buffs_avail()
614 if (lp->tx_old != lp->tx_new) { in lance_set_multicast()
H A Ddeclance.c259 int rx_old, tx_old; member
275 #define TX_BUFFS_AVAIL ((lp->tx_old<=lp->tx_new)?\
276 lp->tx_old+TX_RING_MOD_MASK-lp->tx_new:\
277 lp->tx_old - lp->tx_new-1)
460 lp->rx_old = lp->tx_old = 0; in lance_init_ring()
652 j = lp->tx_old; in lance_tx()
717 lp->tx_old = j; in lance_tx()
981 if (lp->tx_old != lp->tx_new) { in lance_set_multicast()
H A D7990.c148 lp->rx_old = lp->tx_old = 0; in lance_init_ring()
367 j = lp->tx_old; in lance_tx()
435 lp->tx_old = j; in lance_tx()
635 while (lp->tx_old != lp->tx_new) in lance_set_multicast()
/linux/drivers/net/ethernet/sun/
H A Dsunbmac.h260 (((bp)->tx_old <= (bp)->tx_new) ? \
261 (bp)->tx_old + (TX_RING_SIZE - 1) - (bp)->tx_new : \
262 (bp)->tx_old - (bp)->tx_new - 1)
302 int rx_new, tx_new, rx_old, tx_old; member
H A Dsunqe.h300 (((qp)->tx_old <= (qp)->tx_new) ? \
301 (qp)->tx_old + (TX_RING_SIZE - 1) - (qp)->tx_new : \
302 (qp)->tx_old - (qp)->tx_new - 1)
341 int tx_new, tx_old; /* TX ring extents */ member
H A Dsunhme.h366 (((hp)->tx_old <= (hp)->tx_new) ? \
367 (hp)->tx_old + (TX_RING_SIZE - 1) - (hp)->tx_new : \
368 (hp)->tx_old - (hp)->tx_new - 1)
420 int rx_new, tx_new, rx_old, tx_old; member
H A Dsungem.h934 (((GP)->tx_old <= (GP)->tx_new) ? \
935 (GP)->tx_old + (TX_RING_SIZE - 1) - (GP)->tx_new : \
936 (GP)->tx_old - (GP)->tx_new - 1)
979 int tx_new, tx_old; member
H A Dcassini.h2747 int tx_new[N_TX_RINGS], tx_old[N_TX_RINGS]; member
2874 #define TX_BUFFS_AVAIL(cp, i) ((cp)->tx_old[(i)] <= (cp)->tx_new[(i)] ? \
2875 (cp)->tx_old[(i)] + (TX_DESC_RINGN_SIZE(i) - 1) - (cp)->tx_new[(i)] : \
2876 (cp)->tx_old[(i)] - (cp)->tx_new[(i)] - 1)
H A Dsunhme.c93 int tx_new, tx_old;
113 tlp->tx_old = hp->tx_old;
127 tx_log[this].tx_new, tx_log[this].tx_old,
1215 hp->rx_new = hp->rx_old = hp->tx_new = hp->tx_old = 0; in happy_meal_init_rings()
1703 elem = hp->tx_old; in happy_meal_tx()
1744 hp->tx_old = elem; in happy_meal_tx()
H A Dsungem.c635 entry = gp->tx_old; in gem_tx()
681 gp->tx_old = entry; in gem_tx()
1612 gp->rx_new = gp->rx_old = gp->tx_new = gp->tx_old = 0; in gem_init_rings()
H A Dcassini.c1821 entry = cp->tx_old[ring]; in cas_tx_ringN()
1871 cp->tx_old[ring] = entry; in cas_tx_ringN()
1903 if (cp->tx_old[ring] != limit) in cas_tx()
3907 memset(cp->tx_old, 0, sizeof(*cp->tx_old)*N_TX_RINGS); in cas_clean_rings()
/linux/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_ethtool.c307 struct pch_gbe_tx_ring *txdr, *tx_old; in pch_gbe_set_ringparam() local
319 tx_old = adapter->tx_ring; in pch_gbe_set_ringparam()
352 pch_gbe_free_tx_resources(adapter, tx_old); in pch_gbe_set_ringparam()
353 kfree(tx_old); in pch_gbe_set_ringparam()
365 adapter->tx_ring = tx_old; in pch_gbe_set_ringparam()
/linux/drivers/net/ethernet/intel/e1000/
H A De1000_ethtool.c568 struct e1000_tx_ring *txdr, *tx_old; in e1000_set_ringparam() local
581 tx_old = adapter->tx_ring; in e1000_set_ringparam()
627 adapter->tx_ring = tx_old; in e1000_set_ringparam()
634 kfree(tx_old); in e1000_set_ringparam()
644 adapter->tx_ring = tx_old; in e1000_set_ringparam()