/linux-master/drivers/net/ethernet/amd/ |
H A D | 7990.h | 107 int rx_new, tx_new; member in struct:lance_private 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)
|
H A D | a2065.c | 111 int rx_new, tx_new; member in struct:lance_private 157 lp->rx_new = lp->tx_new = 0; 334 for (i = j; i != lp->tx_new; i = j) { 405 if (lp->tx_old <= lp->tx_new) 406 return lp->tx_old + lp->tx_ring_mod_mask - lp->tx_new; 407 return lp->tx_old - lp->tx_new - 1; 554 entry = lp->tx_new & lp->tx_ring_mod_mask; 562 lp->tx_new = (lp->tx_new+1) & lp->tx_ring_mod_mask; 614 if (lp->tx_old != lp->tx_new) { [all...] |
H A D | 7990.c | 147 lp->rx_new = lp->tx_new = 0; 368 for (i = j; i != lp->tx_new; i = j) { 569 entry = lp->tx_new & lp->tx_ring_mod_mask; 579 lp->tx_new = (lp->tx_new + 1) & lp->tx_ring_mod_mask; 635 while (lp->tx_old != lp->tx_new)
|
H A D | sunlance.c | 244 int rx_new, tx_new; member in struct:lance_private 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; 382 lp->rx_new = lp->tx_new = 0; 571 for (i = j; i != lp->tx_new; i = j) { 739 for (i = j; i != lp->tx_new; i = j) { 879 entry = lp->tx_new & TX_RING_MOD_MASK; 906 lp->tx_new [all...] |
H A D | declance.c | 258 int rx_new, tx_new; member in struct:lance_private 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; 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) {
|
/linux-master/drivers/net/ethernet/sun/ |
H A 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 in struct:bigmac
|
H A 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 in struct:sunqe
|
H A 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 in struct:happy_meal
|
H A 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 in struct:gem
|
H A D | sunqe.c | 131 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 D | sunhme.c | 93 int tx_new, tx_old; 112 tlp->tx_new = hp->tx_new; 127 tx_log[this].tx_new, tx_log[this].tx_old, 1215 hp->rx_new = hp->rx_old = hp->tx_new = hp->tx_old = 0; 1704 while (elem != hp->tx_new) { 1997 entry = hp->tx_new; 2052 hp->tx_new = entry; 2066 hp->tx_skbs[hp->tx_new] = NULL;
|
H A D | sunbmac.c | 221 bp->rx_new = bp->rx_old = bp->tx_new = bp->tx_old = 0; 766 while (elem != bp->tx_new) { 966 entry = bp->tx_new; 973 bp->tx_new = NEXT_TX(entry);
|
H A D | cassini.h | 2747 int tx_new[N_TX_RINGS], tx_old[N_TX_RINGS]; member in struct:cas 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)
|
H A D | sungem.c | 1016 entry = gp->tx_new; 1087 gp->tx_new = entry; 1104 writel(gp->tx_new, gp->regs + TXDMA_KICK); 1623 gp->rx_new = gp->rx_old = gp->tx_new = gp->tx_old = 0;
|
H A D | cassini.c | 2742 entry = cp->tx_new[ring]; 2795 cp->tx_new[ring] = entry; 3907 memset(cp->tx_new, 0, sizeof(*cp->tx_new)*N_TX_RINGS);
|
/linux-master/drivers/net/ethernet/seeq/ |
H A 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) 103 unsigned int rx_new, tx_new; member in struct:sgiseeq_private 189 sp->rx_new = sp->tx_new = 0; 279 printk("INFO: [rx_new = %d rx_old=%d] [tx_new = %d tx_old = %d]\n", 280 gpriv->rx_new, gpriv->rx_old, gpriv->tx_new, gpriv->tx_old); 479 for (j = sp->tx_old; j != sp->tx_new; j = NEXT_TX(j)) { 521 if (sp->tx_old != sp->tx_new) 612 entry = sp->tx_new; [all...] |