/Linux-v5.15/drivers/net/ethernet/amd/ |
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)
|
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()
|
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 …]
|
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()
|
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()
|
/Linux-v5.15/drivers/net/ethernet/sun/ |
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
|
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
|
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
|
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
|
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)
|
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()
|
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()
|
D | sunhme.c | 99 int tx_new, tx_old; member 119 tlp->tx_old = hp->tx_old; in tx_add_log() 133 tx_log[this].tx_new, tx_log[this].tx_old, in tx_dump_log() 1231 hp->rx_new = hp->rx_old = hp->tx_new = hp->tx_old = 0; in happy_meal_init_rings() 1901 elem = hp->tx_old; in happy_meal_tx() 1943 hp->tx_old = elem; in happy_meal_tx()
|
D | sungem.c | 635 entry = gp->tx_old; in gem_tx() 681 gp->tx_old = entry; in gem_tx() 1623 gp->rx_new = gp->rx_old = gp->tx_new = gp->tx_old = 0; in gem_init_rings()
|
D | cassini.c | 1834 entry = cp->tx_old[ring]; in cas_tx_ringN() 1884 cp->tx_old[ring] = entry; in cas_tx_ringN() 1916 if (cp->tx_old[ring] != limit) in cas_tx() 3942 memset(cp->tx_old, 0, sizeof(*cp->tx_old)*N_TX_RINGS); in cas_clean_rings()
|
/Linux-v5.15/drivers/net/ethernet/seeq/ |
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 …]
|
/Linux-v5.15/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_ethtool.c | 299 struct pch_gbe_tx_ring *txdr, *tx_old; in pch_gbe_set_ringparam() local 311 tx_old = adapter->tx_ring; in pch_gbe_set_ringparam() 344 pch_gbe_free_tx_resources(adapter, tx_old); in pch_gbe_set_ringparam() 345 kfree(tx_old); in pch_gbe_set_ringparam() 357 adapter->tx_ring = tx_old; in pch_gbe_set_ringparam()
|
/Linux-v5.15/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_ethtool.c | 486 struct ixgb_desc_ring tx_old, tx_new, rx_old, rx_new; in ixgb_set_ringparam() local 489 tx_old = adapter->tx_ring; in ixgb_set_ringparam() 519 adapter->tx_ring = tx_old; in ixgb_set_ringparam() 534 adapter->tx_ring = tx_old; in ixgb_set_ringparam()
|
/Linux-v5.15/drivers/net/ethernet/intel/e1000/ |
D | e1000_ethtool.c | 564 struct e1000_tx_ring *txdr, *tx_old; in e1000_set_ringparam() local 577 tx_old = adapter->tx_ring; in e1000_set_ringparam() 623 adapter->tx_ring = tx_old; in e1000_set_ringparam() 630 kfree(tx_old); in e1000_set_ringparam() 640 adapter->tx_ring = tx_old; in e1000_set_ringparam()
|
/Linux-v5.15/drivers/net/ethernet/dec/tulip/ |
D | de4x5.c | 796 int tx_new, tx_old; /* TX descriptor ring pointers */ member 889 #define TX_BUFFS_AVAIL ((lp->tx_old<=lp->tx_new)?\ 890 lp->tx_old+lp->txRingSize-lp->tx_new-1:\ 891 lp->tx_old -lp->tx_new-1) 893 #define TX_PKT_PENDING (lp->tx_old != lp->tx_new) 1417 lp->tx_new = lp->tx_old = 0; in de4x5_sw_reset() 1450 lp->tx_old = lp->tx_new; in de4x5_sw_reset() 1700 for (entry = lp->tx_old; entry != lp->tx_new; entry = lp->tx_old) { in de4x5_tx() 1730 lp->tx_old = (lp->tx_old + 1) % lp->txRingSize; in de4x5_tx() 3715 lp->tx_new = lp->tx_old = 0; in de4x5_rst_desc_ring()
|