Home
last modified time | relevance | path

Searched refs:tx_new (Results 1 – 17 of 17) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/amd/
D7990.h107 int rx_new, tx_new; 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)
Da2065.c111 int rx_new, tx_new; member
157 lp->rx_new = lp->tx_new = 0; in lance_init_ring()
334 for (i = j; i != lp->tx_new; i = 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()
554 entry = lp->tx_new & lp->tx_ring_mod_mask; in lance_start_xmit()
562 lp->tx_new = (lp->tx_new+1) & lp->tx_ring_mod_mask; in lance_start_xmit()
614 if (lp->tx_old != lp->tx_new) { in lance_set_multicast()
Dsunlance.c244 int rx_new, tx_new; 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)
326 lp->rx_new = lp->tx_new = 0; in lance_init_ring_dvma()
382 lp->rx_new = lp->tx_new = 0; in lance_init_ring_pio()
571 for (i = j; i != lp->tx_new; i = j) { in lance_tx_dvma()
739 for (i = j; i != lp->tx_new; i = j) { in lance_tx_pio()
879 entry = lp->tx_new & TX_RING_MOD_MASK; in build_fake_packet()
906 lp->tx_new = TX_NEXT(entry); in build_fake_packet()
[all …]
D7990.c147 lp->rx_new = lp->tx_new = 0; in lance_init_ring()
368 for (i = j; i != lp->tx_new; i = j) { in lance_tx()
569 entry = lp->tx_new & lp->tx_ring_mod_mask; in lance_start_xmit()
579 lp->tx_new = (lp->tx_new + 1) & lp->tx_ring_mod_mask; in lance_start_xmit()
635 while (lp->tx_old != lp->tx_new) in lance_set_multicast()
Ddeclance.c258 int rx_new, tx_new; 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)
459 lp->rx_new = lp->tx_new = 0; in lance_init_ring()
656 for (i = j; i != lp->tx_new; i = j) { in lance_tx()
918 entry = lp->tx_new; in lance_start_xmit()
928 lp->tx_new = (entry + 1) & TX_RING_MOD_MASK; in lance_start_xmit()
981 if (lp->tx_old != lp->tx_new) { in lance_set_multicast()
/linux-5.19.10/drivers/net/ethernet/sun/
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
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
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
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
Dsunqe.c131 qep->rx_new = qep->rx_old = qep->tx_new = qep->tx_old = 0; in qe_init_rings()
537 while (elem != qep->tx_new) { in qe_tx_reclaim()
586 entry = qep->tx_new; in qe_start_xmit()
600 qep->tx_new = NEXT_TX(entry); in qe_start_xmit()
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)
Dsunbmac.c221 bp->rx_new = bp->rx_old = bp->tx_new = bp->tx_old = 0; in bigmac_init_rings()
766 while (elem != bp->tx_new) { in bigmac_tx()
966 entry = bp->tx_new; in bigmac_start_xmit()
973 bp->tx_new = NEXT_TX(entry); in bigmac_start_xmit()
Dsunhme.c99 int tx_new, tx_old; member
118 tlp->tx_new = hp->tx_new; in tx_add_log()
133 tx_log[this].tx_new, tx_log[this].tx_old, in tx_dump_log()
1212 hp->rx_new = hp->rx_old = hp->tx_new = hp->tx_old = 0; in happy_meal_init_rings()
1884 while (elem != hp->tx_new) { in happy_meal_tx()
2269 entry = hp->tx_new; in happy_meal_start_xmit()
2324 hp->tx_new = entry; in happy_meal_start_xmit()
2338 hp->tx_skbs[hp->tx_new] = NULL; in happy_meal_start_xmit()
Dsungem.c1015 entry = gp->tx_new; in gem_start_xmit()
1086 gp->tx_new = entry; in gem_start_xmit()
1103 writel(gp->tx_new, gp->regs + TXDMA_KICK); in gem_start_xmit()
1622 gp->rx_new = gp->rx_old = gp->tx_new = gp->tx_old = 0; in gem_init_rings()
Dcassini.c2760 entry = cp->tx_new[ring]; in cas_xmit_tx_ringN()
2817 cp->tx_new[ring] = entry; in cas_xmit_tx_ringN()
3929 memset(cp->tx_new, 0, sizeof(*cp->tx_new)*N_TX_RINGS); in cas_clean_rings()
/linux-5.19.10/drivers/net/ethernet/seeq/
Dsgiseeq.c53 #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)
103 unsigned int rx_new, tx_new; member
189 sp->rx_new = sp->tx_new = 0; in seeq_init_ring()
280 gpriv->rx_new, gpriv->rx_old, gpriv->tx_new, gpriv->tx_old); in sgiseeq_dump_rings()
479 for (j = sp->tx_old; j != sp->tx_new; j = NEXT_TX(j)) { in sgiseeq_tx()
521 if (sp->tx_old != sp->tx_new) in sgiseeq_interrupt()
612 entry = sp->tx_new; in sgiseeq_start_xmit()
635 if (sp->tx_old != sp->tx_new) { in sgiseeq_start_xmit()
[all …]
/linux-5.19.10/drivers/net/ethernet/intel/ixgb/
Dixgb_ethtool.c490 struct ixgb_desc_ring tx_old, tx_new, rx_old, rx_new; in ixgb_set_ringparam() local
521 tx_new = adapter->tx_ring; in ixgb_set_ringparam()
527 adapter->tx_ring = tx_new; in ixgb_set_ringparam()