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

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/net/
H A D7990.h108 int rx_new, tx_new; member in struct:lance_private
238 #define TX_BUFFS_AVAIL ((lp->tx_old<=lp->tx_new)?\
239 lp->tx_old+lp->tx_ring_mod_mask-lp->tx_new:\
240 lp->tx_old - lp->tx_new-1)
H A Dsgiseeq.c52 #define TX_BUFFS_AVAIL(sp) ((sp->tx_old <= sp->tx_new) ? \
53 sp->tx_old + (SEEQ_TX_BUFFERS - 1) - sp->tx_new : \
54 sp->tx_old - sp->tx_new - 1)
88 unsigned int rx_new, tx_new; member in struct:sgiseeq_private
160 sp->rx_new = sp->tx_new = 0;
230 printk("INFO: [rx_new = %d rx_old=%d] [tx_new = %d tx_old = %d]\n",
231 gpriv->rx_new, gpriv->rx_old, gpriv->tx_new, gpriv->tx_old);
402 for (j = sp->tx_old; j != sp->tx_new; j = NEXT_TX(j)) {
437 if (sp->tx_old != sp->tx_new)
519 entry = sp->tx_new;
[all...]
H A Dsunbmac.h276 (((bp)->tx_old <= (bp)->tx_new) ? \
277 (bp)->tx_old + (TX_RING_SIZE - 1) - (bp)->tx_new : \
278 (bp)->tx_old - (bp)->tx_new - 1)
318 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 Da2065.c116 int rx_new, tx_new; member in struct:lance_private
134 #define TX_BUFFS_AVAIL ((lp->tx_old<=lp->tx_new)?\
135 lp->tx_old+lp->tx_ring_mod_mask-lp->tx_new:\
136 lp->tx_old - lp->tx_new-1)
176 lp->rx_new = lp->tx_new = 0;
357 for (i = j; i != lp->tx_new; i = j) {
596 entry = lp->tx_new & lp->tx_ring_mod_mask;
608 lp->tx_new = (lp->tx_new+1) & lp->tx_ring_mod_mask;
677 if (lp->tx_old != lp->tx_new) {
[all...]
H A D7990.c149 lp->rx_new = lp->tx_new = 0;
370 for (i = j; i != lp->tx_new; i = j) {
564 entry = lp->tx_new & lp->tx_ring_mod_mask;
574 lp->tx_new = (lp->tx_new+1) & lp->tx_ring_mod_mask;
647 while (lp->tx_old != lp->tx_new)
H A Dsunhme.h363 (((hp)->tx_old <= (hp)->tx_new) ? \
364 (hp)->tx_old + (TX_RING_SIZE - 1) - (hp)->tx_new : \
365 (hp)->tx_old - (hp)->tx_new - 1)
420 int rx_new, tx_new, rx_old, tx_old; member in struct:happy_meal
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;
579 for (i = j; i != lp->tx_new; i = j) {
750 for (i = j; i != lp->tx_new; i = j) {
890 entry = lp->tx_new & TX_RING_MOD_MASK;
917 lp->tx_new
[all...]
H A Ddeclance.c258 int rx_new, tx_new; member in struct:lance_private
276 #define TX_BUFFS_AVAIL ((lp->tx_old<=lp->tx_new)?\
277 lp->tx_old+TX_RING_MOD_MASK-lp->tx_new:\
278 lp->tx_old - lp->tx_new-1)
454 lp->rx_new = lp->tx_new = 0;
651 for (i = j; i != lp->tx_new; i = j) {
914 entry = lp->tx_new;
924 lp->tx_new = (entry + 1) & TX_RING_MOD_MASK;
993 if (lp->tx_old != lp->tx_new) {
H A Ddepca.c486 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)
881 lp->rx_new = lp->tx_new = 0;
1121 for (entry = lp->tx_old; entry != lp->tx_new; entr
[all...]
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)
980 int tx_new, tx_old; member in struct:gem
H A Dsunqe.c129 qep->rx_new = qep->rx_old = qep->tx_new = qep->tx_old = 0;
537 while (elem != qep->tx_new) {
586 entry = qep->tx_new;
600 qep->tx_new = NEXT_TX(entry);
H A Dsunbmac.c221 bp->rx_new = bp->rx_old = bp->tx_new = bp->tx_old = 0;
767 while (elem != bp->tx_new) {
966 entry = bp->tx_new;
973 bp->tx_new = NEXT_TX(entry);
H A Dsunhme.c98 int tx_new, tx_old; member in struct:hme_tx_logent
117 tlp->tx_new = hp->tx_new;
132 tx_log[this].tx_new, tx_log[this].tx_old,
1242 hp->rx_new = hp->rx_old = hp->tx_new = hp->tx_old = 0;
1904 while (elem != hp->tx_new) {
2258 entry = hp->tx_new;
2305 hp->tx_new = entry;
H A Dcassini.h3499 int tx_new[N_TX_RINGS], tx_old[N_TX_RINGS]; member in struct:cas
3615 #define TX_BUFFS_AVAIL(cp, i) ((cp)->tx_old[(i)] <= (cp)->tx_new[(i)] ? \
3616 (cp)->tx_old[(i)] + (TX_DESC_RINGN_SIZE(i) - 1) - (cp)->tx_new[(i)] : \
3617 (cp)->tx_old[(i)] - (cp)->tx_new[(i)] - 1)
H A Dsungem.c1058 entry = gp->tx_new;
1130 gp->tx_new = entry;
1138 writel(gp->tx_new, gp->regs + TXDMA_KICK);
1608 gp->rx_new = gp->rx_old = gp->tx_new = gp->tx_old = 0;
H A Dcassini.c2700 entry = cp->tx_new[ring];
2759 cp->tx_new[ring] = entry;
3866 memset(cp->tx_new, 0, sizeof(*cp->tx_new)*N_TX_RINGS);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/net/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)
1418 lp->tx_new
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/net/ixgb/
H A Dixgb_ethtool.c566 struct ixgb_desc_ring tx_old, tx_new, rx_old, rx_new; local
597 tx_new = adapter->tx_ring;
603 adapter->tx_ring = tx_new;

Completed in 269 milliseconds