/drivers/net/ethernet/amd/ |
H A D | 7990.h | 106 int rx_new, tx_new; member in struct:lance_private 233 #define TX_BUFFS_AVAIL ((lp->tx_old <= lp->tx_new) ? \ 234 lp->tx_old + lp->tx_ring_mod_mask - lp->tx_new : \ 235 lp->tx_old - lp->tx_new - 1)
|
H A D | a2065.c | 111 int rx_new, tx_new; member in struct:lance_private 160 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 D | 7990.c | 146 lp->rx_new = lp->tx_new = 0; 367 for (i = j; i != lp->tx_new; i = j) { 566 entry = lp->tx_new & lp->tx_ring_mod_mask; 576 lp->tx_new = (lp->tx_new + 1) & lp->tx_ring_mod_mask; 632 while (lp->tx_old != lp->tx_new)
|
H A D | sunlance.c | 248 int rx_new, tx_new; member in struct:lance_private 271 #define TX_BUFFS_AVAIL ((lp->tx_old<=lp->tx_new)?\ 272 lp->tx_old+TX_RING_MOD_MASK-lp->tx_new:\ 273 lp->tx_old - lp->tx_new-1) 330 lp->rx_new = lp->tx_new = 0; 386 lp->rx_new = lp->tx_new = 0; 575 for (i = j; i != lp->tx_new; i = j) { 743 for (i = j; i != lp->tx_new; i = j) { 883 entry = lp->tx_new & TX_RING_MOD_MASK; 910 lp->tx_new [all...] |
H A D | declance.c | 257 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; 654 for (i = j; i != lp->tx_new; i = j) { 916 entry = lp->tx_new; 926 lp->tx_new = (entry + 1) & TX_RING_MOD_MASK; 979 if (lp->tx_old != lp->tx_new) {
|
/drivers/net/ethernet/sun/ |
H A D | sunbmac.h | 259 (((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 D | sunqe.h | 299 (((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 D | sunhme.h | 365 (((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 D | sungem.h | 933 (((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 D | sunqe.c | 130 qep->rx_new = qep->rx_old = qep->tx_new = qep->tx_old = 0; 535 while (elem != qep->tx_new) { 584 entry = qep->tx_new; 598 qep->tx_new = NEXT_TX(entry);
|
H A D | sunbmac.c | 220 bp->rx_new = bp->rx_old = bp->tx_new = bp->tx_old = 0; 766 while (elem != bp->tx_new) { 965 entry = bp->tx_new; 972 bp->tx_new = NEXT_TX(entry);
|
H A D | cassini.h | 2759 int tx_new[N_TX_RINGS], tx_old[N_TX_RINGS]; member in struct:cas 2886 #define TX_BUFFS_AVAIL(cp, i) ((cp)->tx_old[(i)] <= (cp)->tx_new[(i)] ? \ 2887 (cp)->tx_old[(i)] + (TX_DESC_RINGN_SIZE(i) - 1) - (cp)->tx_new[(i)] : \ 2888 (cp)->tx_old[(i)] - (cp)->tx_new[(i)] - 1)
|
H A D | sunhme.c | 99 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, 1255 hp->rx_new = hp->rx_old = hp->tx_new = hp->tx_old = 0; 1928 while (elem != hp->tx_new) { 2313 entry = hp->tx_new; 2368 hp->tx_new = entry; 2382 hp->tx_skbs[hp->tx_new] = NULL;
|
H A D | sungem.c | 1024 entry = gp->tx_new; 1094 gp->tx_new = entry; 1111 writel(gp->tx_new, gp->regs + TXDMA_KICK); 1624 gp->rx_new = gp->rx_old = gp->tx_new = gp->tx_old = 0;
|
H A D | cassini.c | 2795 entry = cp->tx_new[ring]; 2853 cp->tx_new[ring] = entry; 3971 memset(cp->tx_new, 0, sizeof(*cp->tx_new)*N_TX_RINGS);
|
/drivers/net/ethernet/seeq/ |
H A D | sgiseeq.c | 52 #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) 102 unsigned int rx_new, tx_new; member in struct:sgiseeq_private 184 sp->rx_new = sp->tx_new = 0; 274 printk("INFO: [rx_new = %d rx_old=%d] [tx_new = %d tx_old = %d]\n", 275 gpriv->rx_new, gpriv->rx_old, gpriv->tx_new, gpriv->tx_old); 471 for (j = sp->tx_old; j != sp->tx_new; j = NEXT_TX(j)) { 512 if (sp->tx_old != sp->tx_new) 602 entry = sp->tx_new; [all...] |
/drivers/net/ethernet/dec/tulip/ |
H A D | de4x5.c | 795 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 D | ixgb_ethtool.c | 508 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;
|