/drivers/net/ethernet/dec/tulip/ |
H A D | interrupt.c | 66 for (; tp->cur_rx - tp->dirty_rx > 0; tp->dirty_rx++) { 67 entry = tp->dirty_rx % RX_RING_SIZE; 148 if (tp->dirty_rx + RX_RING_SIZE == tp->cur_rx) 261 if (tp->cur_rx - tp->dirty_rx > RX_RING_SIZE/4) 317 if (tp->rx_buffers[tp->dirty_rx % RX_RING_SIZE].skb == NULL) 339 if (tp->cur_rx - tp->dirty_rx > RX_RING_SIZE/2 || 340 tp->rx_buffers[tp->dirty_rx % RX_RING_SIZE].skb == NULL) 343 if (tp->rx_buffers[tp->dirty_rx % RX_RING_SIZE].skb == NULL) 369 int rx_work_limit = tp->dirty_rx [all...] |
H A D | winbond-840.c | 312 unsigned int cur_rx, dirty_rx; /* Producer/consumer ring indices */ member in struct:netdev_private 826 np->dirty_rx = (unsigned int)(i - RX_RING_SIZE); 1182 int work_limit = np->dirty_rx + RX_RING_SIZE - np->cur_rx; 1266 for (; np->cur_rx - np->dirty_rx > 0; np->dirty_rx++) { 1268 entry = np->dirty_rx % RX_RING_SIZE; 1490 np->cur_rx, np->dirty_rx);
|
H A D | tulip.h | 423 unsigned int dirty_rx, dirty_tx; /* The ring entries to be free()ed. */ member in struct:tulip_private
|
H A D | tulip_core.c | 336 tp->dirty_rx = tp->dirty_tx = 0; 653 tp->dirty_rx = (unsigned int)(i - RX_RING_SIZE);
|
/drivers/net/ethernet/stmicro/stmmac/ |
H A D | chain_mode.c | 140 (((priv->dirty_rx) + 1) %
|
H A D | stmmac.h | 65 unsigned int dirty_rx; member in struct:stmmac_priv
|
H A D | stmmac_main.c | 1059 priv->dirty_rx = (unsigned int)(i - rxsize); 2068 for (; priv->cur_rx - priv->dirty_rx > 0; priv->dirty_rx++) { 2069 unsigned int entry = priv->dirty_rx % rxsize;
|
/drivers/net/ethernet/packetengines/ |
H A D | hamachi.c | 494 unsigned int cur_rx, dirty_rx; /* Producer/consumer ring indices */ member in struct:hamachi_private 1113 hmp->dirty_rx = hmp->dirty_tx = 0; 1142 hmp->dirty_rx = (unsigned int)(i - RX_RING_SIZE); 1167 hmp->dirty_rx = hmp->dirty_tx = 0; 1195 hmp->dirty_rx = (unsigned int)(i - RX_RING_SIZE); 1402 int boguscnt = (hmp->dirty_rx + RX_RING_SIZE) - hmp->cur_rx; 1580 for (; hmp->cur_rx - hmp->dirty_rx > 0; hmp->dirty_rx++) { 1583 entry = hmp->dirty_rx % RX_RING_SIZE; 1662 dev->name, hmp->cur_tx, hmp->dirty_tx, hmp->cur_rx, hmp->dirty_rx); [all...] |
H A D | yellowfin.c | 323 unsigned int cur_rx, dirty_rx; /* Producer/consumer ring indices */ member in struct:yellowfin_private 755 yp->dirty_rx = (unsigned int)(i - RX_RING_SIZE); 1040 int boguscnt = yp->dirty_rx + RX_RING_SIZE - yp->cur_rx; 1153 for (; yp->cur_rx - yp->dirty_rx > 0; yp->dirty_rx++) { 1154 entry = yp->dirty_rx % RX_RING_SIZE; 1203 yp->cur_rx, yp->dirty_rx);
|
/drivers/net/ethernet/smsc/ |
H A D | epic100.c | 270 unsigned int cur_rx, dirty_rx; member in struct:epic_private 790 ep->cur_rx, ep->dirty_rx, ep->dirty_tx, ep->cur_tx); 906 ep->cur_rx = ep->dirty_rx = 0; 931 ep->dirty_rx = (unsigned int)(i - RX_RING_SIZE); 1142 int rx_work_limit = ep->dirty_rx + RX_RING_SIZE - ep->cur_rx; 1215 for (; ep->cur_rx - ep->dirty_rx > 0; ep->dirty_rx++) { 1216 entry = ep->dirty_rx % RX_RING_SIZE;
|
/drivers/net/ethernet/sis/ |
H A D | sis900.c | 179 unsigned int cur_rx, dirty_rx; /* producer/comsumer pointers for Tx/Rx ring */ member in struct:sis900_private 1165 sis_priv->dirty_rx = 0; 1199 sis_priv->dirty_rx = (unsigned int) (i - NUM_RX_DESC); 1738 printk(KERN_DEBUG "sis900_rx, cur_rx:%4.4d, dirty_rx:%4.4d " 1740 sis_priv->cur_rx, sis_priv->dirty_rx, rx_status); 1741 rx_work_limit = sis_priv->dirty_rx + NUM_RX_DESC - sis_priv->cur_rx; 1805 "cur_rx:%4.4d, dirty_rx:%4.4d\n", 1807 sis_priv->dirty_rx); 1823 sis_priv->dirty_rx++; 1844 for (; sis_priv->cur_rx != sis_priv->dirty_rx; sis_pri [all...] |
H A D | sis190.c | 273 u32 dirty_rx; member in struct:sis190_private 581 rx_left = NUM_RX_DESC + tp->dirty_rx - cur_rx; 639 delta = sis190_rx_fill(tp, dev, tp->dirty_rx, tp->cur_rx); 642 tp->dirty_rx += delta; 644 if ((tp->dirty_rx + NUM_RX_DESC) == tp->cur_rx) 808 tp->dirty_tx = tp->dirty_rx = tp->cur_tx = tp->cur_rx = 0;
|
/drivers/net/ethernet/3com/ |
H A D | 3c515.c | 311 unsigned int dirty_rx, dirty_tx;/* The ring entries to be free()ed. */ member in struct:corkscrew_private 817 vp->cur_rx = vp->dirty_rx = 0; 1398 for (; vp->cur_rx - vp->dirty_rx > 0; vp->dirty_rx++) { 1400 entry = vp->dirty_rx % RX_RING_SIZE;
|
H A D | 3c59x.c | 605 unsigned int dirty_rx, dirty_tx; /* The ring entries to be free()ed. */ member in struct:vortex_private 1687 vp->cur_rx = vp->dirty_rx = 0; 2582 int rx_work_limit = vp->dirty_rx + RX_RING_SIZE - vp->cur_rx; 2646 for (; vp->cur_rx - vp->dirty_rx > 0; vp->dirty_rx++) { 2648 entry = vp->dirty_rx % RX_RING_SIZE; 2658 if ((vp->cur_rx - vp->dirty_rx) == RX_RING_SIZE) 2683 if ((vp->cur_rx - vp->dirty_rx) == RX_RING_SIZE) /* This test is redundant, but makes me feel good */ 2687 ((vp->cur_rx - vp->dirty_rx) != RX_RING_SIZE) ? "succeeded" : "retrying");
|
/drivers/net/ethernet/dlink/ |
H A D | sundance.c | 395 unsigned int cur_rx, dirty_rx; /* Producer/consumer ring indices */ member in struct:netdev_private 1003 printk(KERN_DEBUG "cur_rx=%d dirty_rx=%d\n", np->cur_rx, np->dirty_rx); 1031 np->dirty_rx = np->dirty_tx = 0; 1064 np->dirty_rx = (unsigned int)(i - RX_RING_SIZE); 1433 for (;(np->cur_rx - np->dirty_rx + RX_RING_SIZE) % RX_RING_SIZE > 0; 1434 np->dirty_rx = (np->dirty_rx + 1) % RX_RING_SIZE) { 1436 entry = np->dirty_rx % RX_RING_SIZE; 1852 dev->name, np->cur_tx, np->dirty_tx, np->cur_rx, np->dirty_rx); [all...] |
/drivers/net/ethernet/renesas/ |
H A D | sh_eth.c | 1118 mdp->dirty_rx = 0; 1151 mdp->dirty_rx = (u32) (i - mdp->num_rx_ring); 1216 mdp->dirty_rx = 0; 1389 int boguscnt = (mdp->dirty_rx + mdp->num_rx_ring) - mdp->cur_rx; 1458 for (; mdp->cur_rx - mdp->dirty_rx > 0; mdp->dirty_rx++) { 1459 entry = mdp->dirty_rx % mdp->num_rx_ring; 1493 mdp->dirty_rx = count; 1914 data[i++] = mdp->dirty_rx;
|
H A D | sh_eth.h | 506 u32 cur_rx, dirty_rx; /* Producer/consumer ring indices */ member in struct:sh_eth_private
|
/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_common.h | 403 unsigned int dirty_rx; member in struct:sxgbe_rx_queue
|
H A D | sxgbe_main.c | 497 rx_ring->dirty_rx = (unsigned int)(desc_index - rx_rsize); 1431 for (; priv->rxq[qnum]->cur_rx - priv->rxq[qnum]->dirty_rx > 0; 1432 priv->rxq[qnum]->dirty_rx++) { 1433 unsigned int entry = priv->rxq[qnum]->dirty_rx % rxsize;
|
/drivers/net/ethernet/adaptec/ |
H A D | starfire.c | 559 unsigned int cur_rx, dirty_rx; /* Producer/consumer ring indices */ member in struct:netdev_private 1145 np->dirty_rx = np->dirty_tx = np->rx_done = np->tx_done = 0; 1160 np->dirty_rx = (unsigned int)(i - RX_RING_SIZE); 1564 for (; np->cur_rx - np->dirty_rx > 0; np->dirty_rx++) { 1565 entry = np->dirty_rx % RX_RING_SIZE; 1907 np->cur_rx, np->dirty_rx);
|
/drivers/net/ethernet/via/ |
H A D | via-rhine.c | 474 unsigned int cur_rx, dirty_rx; /* Producer/consumer ring indices */ member in struct:rhine_private 1221 rp->dirty_rx = rp->cur_rx = 0; 1256 rp->dirty_rx = (unsigned int)(i - RX_RING_SIZE); 2047 for (; rp->cur_rx - rp->dirty_rx > 0; rp->dirty_rx++) { 2049 entry = rp->dirty_rx % RX_RING_SIZE;
|
/drivers/net/ethernet/natsemi/ |
H A D | natsemi.c | 558 unsigned int cur_rx, dirty_rx; member in struct:netdev_private 1929 for (; np->cur_rx - np->dirty_rx > 0; np->dirty_rx++) { 1931 int entry = np->dirty_rx % RX_RING_SIZE; 1944 if (np->cur_rx - np->dirty_rx == RX_RING_SIZE) { 1977 np->dirty_rx = 0; 2056 np->dirty_rx = 0; 2270 int boguscnt = np->dirty_rx + RX_RING_SIZE - np->cur_rx; 3149 np->cur_rx, np->dirty_rx);
|
/drivers/net/hippi/ |
H A D | rrunner.h | 818 u32 dirty_rx, dirty_tx; member in struct:rr_private
|
/drivers/net/ethernet/amd/ |
H A D | lance.c | 249 int dirty_rx, dirty_tx; /* The ring entries to be free()ed. */ member in struct:lance_private 868 lp->dirty_rx = lp->dirty_tx = 0;
|
H A D | pcnet32.c | 284 unsigned int dirty_rx, /* ring entries to be freed. */ member in struct:pcnet32_private 2280 lp->dirty_rx = lp->dirty_tx = 0;
|