Searched refs:tx_new (Results 1 - 19 of 19) sorted by relevance

/drivers/net/ethernet/amd/
H A D7990.h108 int rx_new, tx_new; member in struct:lance_private
237 #define TX_BUFFS_AVAIL ((lp->tx_old<=lp->tx_new)?\
238 lp->tx_old+lp->tx_ring_mod_mask-lp->tx_new:\
239 lp->tx_old - lp->tx_new-1)
H A Da2065.c110 int rx_new, tx_new; member in struct:lance_private
159 lp->rx_new = lp->tx_new = 0;
337 for (i = j; i != lp->tx_new; i = j) {
408 if (lp->tx_old <= lp->tx_new)
409 return lp->tx_old + lp->tx_ring_mod_mask - lp->tx_new;
410 return lp->tx_old - lp->tx_new - 1;
560 entry = lp->tx_new & lp->tx_ring_mod_mask;
568 lp->tx_new = (lp->tx_new+1) & lp->tx_ring_mod_mask;
619 if (lp->tx_old != lp->tx_new) {
[all...]
H A D7990.c147 lp->rx_new = lp->tx_new = 0;
365 for (i = j; i != lp->tx_new; i = j) {
561 entry = lp->tx_new & lp->tx_ring_mod_mask;
571 lp->tx_new = (lp->tx_new+1) & lp->tx_ring_mod_mask;
627 while (lp->tx_old != lp->tx_new)
H A Dsunlance.c249 int rx_new, tx_new; member in struct:lance_private
272 #define TX_BUFFS_AVAIL ((lp->tx_old<=lp->tx_new)?\
273 lp->tx_old+TX_RING_MOD_MASK-lp->tx_new:\
274 lp->tx_old - lp->tx_new-1)
331 lp->rx_new = lp->tx_new = 0;
387 lp->rx_new = lp->tx_new = 0;
578 for (i = j; i != lp->tx_new; i = j) {
748 for (i = j; i != lp->tx_new; i = j) {
888 entry = lp->tx_new & TX_RING_MOD_MASK;
915 lp->tx_new
[all...]
H A Ddeclance.c257 int rx_new, tx_new; member in struct:lance_private
273 #define TX_BUFFS_AVAIL ((lp->tx_old<=lp->tx_new)?\
274 lp->tx_old+TX_RING_MOD_MASK-lp->tx_new:\
275 lp->tx_old - lp->tx_new-1)
457 lp->rx_new = lp->tx_new = 0;
656 for (i = j; i != lp->tx_new; i = j) {
918 entry = lp->tx_new;
928 lp->tx_new = (entry + 1) & TX_RING_MOD_MASK;
981 if (lp->tx_old != lp->tx_new) {
H A Ddepca.c487 int rx_new, tx_new; /* The next free ring entry */ member in struct:depca_private
506 ** The transmit ring full condition is described by the tx_old and tx_new
508 ** tx_old = tx_new Empty ring
509 ** tx_old = tx_new+1 Full ring
510 ** tx_old+txRingMask = tx_new Full ring (wrapped condition)
512 #define TX_BUFFS_AVAIL ((lp->tx_old<=lp->tx_new)?\
513 lp->tx_old+lp->txRingMask-lp->tx_new:\
514 lp->tx_old -lp->tx_new-1)
884 lp->rx_new = lp->tx_new = 0;
1123 for (entry = lp->tx_old; entry != lp->tx_new; entr
[all...]
/drivers/net/ethernet/sun/
H A Dsunbmac.h259 (((bp)->tx_old <= (bp)->tx_new) ? \
260 (bp)->tx_old + (TX_RING_SIZE - 1) - (bp)->tx_new : \
261 (bp)->tx_old - (bp)->tx_new - 1)
301 int rx_new, tx_new, rx_old, tx_old; member in struct:bigmac
H A 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 in struct:sunqe
H A Dsunhme.h365 (((hp)->tx_old <= (hp)->tx_new) ? \
366 (hp)->tx_old + (TX_RING_SIZE - 1) - (hp)->tx_new : \
367 (hp)->tx_old - (hp)->tx_new - 1)
419 int rx_new, tx_new, rx_old, tx_old; member in struct:happy_meal
H A Dsungem.h933 (((GP)->tx_old <= (GP)->tx_new) ? \
934 (GP)->tx_old + (TX_RING_SIZE - 1) - (GP)->tx_new : \
935 (GP)->tx_old - (GP)->tx_new - 1)
978 int tx_new, tx_old; member in struct:gem
H A Dsunqe.c130 qep->rx_new = qep->rx_old = qep->tx_new = qep->tx_old = 0;
538 while (elem != qep->tx_new) {
587 entry = qep->tx_new;
601 qep->tx_new = NEXT_TX(entry);
H A Dsunbmac.c222 bp->rx_new = bp->rx_old = bp->tx_new = bp->tx_old = 0;
769 while (elem != bp->tx_new) {
969 entry = bp->tx_new;
976 bp->tx_new = NEXT_TX(entry);
H A Dcassini.h2761 int tx_new[N_TX_RINGS], tx_old[N_TX_RINGS]; member in struct:cas
2888 #define TX_BUFFS_AVAIL(cp, i) ((cp)->tx_old[(i)] <= (cp)->tx_new[(i)] ? \
2889 (cp)->tx_old[(i)] + (TX_DESC_RINGN_SIZE(i) - 1) - (cp)->tx_new[(i)] : \
2890 (cp)->tx_old[(i)] - (cp)->tx_new[(i)] - 1)
H A Dsunhme.c99 int tx_new, tx_old; member in struct:hme_tx_logent
118 tlp->tx_new = hp->tx_new;
133 tx_log[this].tx_new, tx_log[this].tx_old,
1256 hp->rx_new = hp->rx_old = hp->tx_new = hp->tx_old = 0;
1923 while (elem != hp->tx_new) {
2280 entry = hp->tx_new;
2326 hp->tx_new = entry;
H A Dsungem.c1026 entry = gp->tx_new;
1096 gp->tx_new = entry;
1113 writel(gp->tx_new, gp->regs + TXDMA_KICK);
1626 gp->rx_new = gp->rx_old = gp->tx_new = gp->tx_old = 0;
H A Dcassini.c2798 entry = cp->tx_new[ring];
2856 cp->tx_new[ring] = entry;
3974 memset(cp->tx_new, 0, sizeof(*cp->tx_new)*N_TX_RINGS);
/drivers/net/ethernet/seeq/
H A 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 in struct:sgiseeq_private
185 sp->rx_new = sp->tx_new = 0;
275 printk("INFO: [rx_new = %d rx_old=%d] [tx_new = %d tx_old = %d]\n",
276 gpriv->rx_new, gpriv->rx_old, gpriv->tx_new, gpriv->tx_old);
474 for (j = sp->tx_old; j != sp->tx_new; j = NEXT_TX(j)) {
515 if (sp->tx_old != sp->tx_new)
605 entry = sp->tx_new;
[all...]
/drivers/net/ethernet/dec/tulip/
H A Dde4x5.c795 int tx_new, tx_old; /* TX descriptor ring pointers */ member in struct:de4x5_private
882 ** The transmit ring full condition is described by the tx_old and tx_new
884 ** tx_old = tx_new Empty ring
885 ** tx_old = tx_new+1 Full ring
886 ** tx_old+txRingSize = tx_new+1 Full ring (wrapped condition)
888 #define TX_BUFFS_AVAIL ((lp->tx_old<=lp->tx_new)?\
889 lp->tx_old+lp->txRingSize-lp->tx_new-1:\
890 lp->tx_old -lp->tx_new-1)
892 #define TX_PKT_PENDING (lp->tx_old != lp->tx_new)
1419 lp->tx_new
[all...]
/drivers/net/ethernet/intel/ixgb/
H A Dixgb_ethtool.c508 struct ixgb_desc_ring tx_old, tx_new, rx_old, rx_new; local
539 tx_new = adapter->tx_ring;
545 adapter->tx_ring = tx_new;

Completed in 322 milliseconds