/openbmc/linux/drivers/net/ethernet/amd/ |
H A D | 7990.h | 108 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 D | a2065.c | 112 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 D | sunlance.c | 245 int rx_old, tx_old; member 267 #define TX_BUFFS_AVAIL ((lp->tx_old<=lp->tx_new)?\ 268 lp->tx_old+TX_RING_MOD_MASK-lp->tx_new:\ 269 lp->tx_old - lp->tx_new-1) 327 lp->rx_old = lp->tx_old = 0; in lance_init_ring_dvma() 383 lp->rx_old = lp->tx_old = 0; in lance_init_ring_pio() 570 j = lp->tx_old; in lance_tx_dvma() 633 lp->tx_old = j; in lance_tx_dvma() 738 j = lp->tx_old; in lance_tx_pio() 801 lp->tx_old = j; in lance_tx_pio() [all …]
|
H A D | declance.c | 259 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 D | 7990.c | 148 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()
|
/openbmc/linux/drivers/net/ethernet/sun/ |
H A D | sunbmac.h | 260 (((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 D | sunqe.h | 300 (((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 D | sunhme.h | 366 (((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 D | sungem.h | 934 (((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 D | cassini.h | 2747 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 D | sunqe.c | 131 qep->rx_new = qep->rx_old = qep->tx_new = qep->tx_old = 0; in qe_init_rings() 535 int elem = qep->tx_old; in qe_tx_reclaim() 544 qep->tx_old = elem; in qe_tx_reclaim()
|
H A D | sunhme.c | 93 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 D | sunbmac.c | 221 bp->rx_new = bp->rx_old = bp->tx_new = bp->tx_old = 0; in bigmac_init_rings() 764 elem = bp->tx_old; in bigmac_tx() 789 bp->tx_old = elem; in bigmac_tx()
|
H A D | sungem.c | 635 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 D | cassini.c | 1820 entry = cp->tx_old[ring]; in cas_tx_ringN() 1870 cp->tx_old[ring] = entry; in cas_tx_ringN() 1902 if (cp->tx_old[ring] != limit) in cas_tx() 3906 memset(cp->tx_old, 0, sizeof(*cp->tx_old)*N_TX_RINGS); in cas_clean_rings()
|
/openbmc/linux/drivers/net/ethernet/seeq/ |
H A D | sgiseeq.c | 53 #define TX_BUFFS_AVAIL(sp) ((sp->tx_old <= sp->tx_new) ? \ 54 sp->tx_old + (SEEQ_TX_BUFFERS - 1) - sp->tx_new : \ 55 sp->tx_old - sp->tx_new - 1) 104 unsigned int rx_old, tx_old; member 190 sp->rx_old = sp->tx_old = 0; in seeq_init_ring() 280 gpriv->rx_new, gpriv->rx_old, gpriv->tx_new, gpriv->tx_old); in sgiseeq_dump_rings() 435 int i = sp->tx_old; in kick_tx() 479 for (j = sp->tx_old; j != sp->tx_new; j = NEXT_TX(j)) { in sgiseeq_tx() 494 sp->tx_old = NEXT_TX(sp->tx_old); in sgiseeq_tx() 521 if (sp->tx_old != sp->tx_new) in sgiseeq_interrupt() [all …]
|
/openbmc/linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_ethtool.c | 307 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()
|
/openbmc/linux/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_ethtool.c | 568 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()
|