/drivers/net/ethernet/dec/tulip/ |
H A D | interrupt.c | 578 unsigned int dirty_tx; local 582 for (dirty_tx = tp->dirty_tx; tp->cur_tx - dirty_tx > 0; 583 dirty_tx++) { 584 int entry = dirty_tx % TX_RING_SIZE; 638 if (tp->cur_tx - dirty_tx > TX_RING_SIZE) { 641 dirty_tx, tp->cur_tx); 642 dirty_tx += TX_RING_SIZE; 646 if (tp->cur_tx - dirty_tx < TX_RING_SIZ [all...] |
H A D | winbond-840.c | 314 unsigned int cur_tx, dirty_tx; member in struct:netdev_private 838 np->tx_q_bytes = np->dirty_tx = np->cur_tx = 0; 951 np->cur_tx, np->dirty_tx, np->tx_full, np->tx_q_bytes); 957 * Under high load dirty_tx and the internal tx descriptor pointer 1049 if (np->cur_tx - np->dirty_tx > TX_QUEUE_LEN || 1067 for (; np->cur_tx - np->dirty_tx > 0; np->dirty_tx++) { 1068 int entry = np->dirty_tx % TX_RING_SIZE; 1105 np->cur_tx - np->dirty_tx < TX_QUEUE_LEN_RESTART && 1146 np->cur_tx != np->dirty_tx) { [all...] |
H A D | tulip_core.c | 336 tp->dirty_rx = tp->dirty_tx = 0; 684 if (tp->cur_tx - tp->dirty_tx < TX_RING_SIZE/2) {/* Typical path */ 686 } else if (tp->cur_tx - tp->dirty_tx == TX_RING_SIZE/2) { 688 } else if (tp->cur_tx - tp->dirty_tx < TX_RING_SIZE - 2) { 715 unsigned int dirty_tx; local 717 for (dirty_tx = tp->dirty_tx ; tp->cur_tx - dirty_tx > 0; 718 dirty_tx++) { 719 int entry = dirty_tx [all...] |
H A D | tulip.h | 423 unsigned int dirty_rx, dirty_tx; /* The ring entries to be free()ed. */ member in struct:tulip_private
|
/drivers/net/ethernet/amd/ |
H A D | ariadne.c | 92 int dirty_tx; /* The ring entries to be free()ed */ member in struct:ariadne_private 125 priv->dirty_tx = 0; 305 int dirty_tx = priv->dirty_tx; local 308 while (dirty_tx < priv->cur_tx) { 309 int entry = dirty_tx % TX_RING_SIZE; 341 dirty_tx++; 345 if (priv->cur_tx - dirty_tx >= TX_RING_SIZE) { 347 dirty_tx, priv->cur_tx, 349 dirty_tx [all...] |
H A D | atarilance.c | 223 int dirty_tx; /* Ring entries to be freed. */ member in struct:lance_private 693 lp->dirty_tx = 0; 750 DPRINTK( 2, ( "Ring data: dirty_tx %d cur_tx %d%s cur_rx %d\n", 751 lp->dirty_tx, lp->cur_tx, 832 while( lp->cur_tx >= TX_RING_SIZE && lp->dirty_tx >= TX_RING_SIZE ) { 834 lp->dirty_tx -= TX_RING_SIZE; 885 int dirty_tx = lp->dirty_tx; local 887 while( dirty_tx < lp->cur_tx) { 888 int entry = dirty_tx [all...] |
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; 931 printk (" Ring data dump: dirty_tx %d cur_tx %d%s cur_rx %d.", 932 lp->dirty_tx, lp->cur_tx, netif_queue_stopped(dev) ? " (full)" : "", 1013 if ((lp->cur_tx - lp->dirty_tx) >= TX_RING_SIZE) 1050 int dirty_tx = lp->dirty_tx; local 1052 while (dirty_tx < lp->cur_tx) { 1053 int entry = dirty_tx & TX_RING_MOD_MASK; 1092 dirty_tx [all...] |
H A D | pcnet32.c | 285 dirty_tx; member in struct:pcnet32_private 1231 unsigned int dirty_tx = lp->dirty_tx; local 1235 while (dirty_tx != lp->cur_tx) { 1236 int entry = dirty_tx & lp->tx_mod_mask; 1292 dirty_tx++; 1295 delta = (lp->cur_tx - dirty_tx) & (lp->tx_mod_mask + lp->tx_ring_size); 1298 dirty_tx, lp->cur_tx, lp->tx_full); 1299 dirty_tx += lp->tx_ring_size; 1310 lp->dirty_tx [all...] |
/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac.h | 38 unsigned int dirty_tx; member in struct:stmmac_priv
|
H A D | stmmac_main.c | 185 return priv->dirty_tx + priv->dma_tx_size - priv->cur_tx - 1; 492 priv->dirty_tx = 0; 592 while (priv->dirty_tx != priv->cur_tx) { 594 unsigned int entry = priv->dirty_tx % txsize; 616 priv->cur_tx, priv->dirty_tx); 642 entry = (++priv->dirty_tx) % txsize; 685 if (priv->dirty_tx != priv->cur_tx) 734 priv->dirty_tx = 0; 1183 (priv->cur_tx % txsize), (priv->dirty_tx % txsize),
|
/drivers/net/ethernet/packetengines/ |
H A D | yellowfin.c | 187 empty by incrementing the dirty_tx mark. Iff the 'yp->tx_full' flag is set, it 326 unsigned int cur_tx, dirty_tx; member in struct:yellowfin_private 694 yp->cur_tx, yp->dirty_tx, 719 if (yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE) 734 yp->dirty_tx = 0; 880 if (yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE) 924 for (; yp->cur_tx - yp->dirty_tx > 0; yp->dirty_tx++) { 925 int entry = yp->dirty_tx % TX_RING_SIZE; 940 yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZ 947 unsigned dirty_tx = yp->dirty_tx; local [all...] |
H A D | hamachi.c | 277 empty by incrementing the dirty_tx mark. Iff the 'hmp->tx_full' flag is set, it 495 unsigned int cur_tx, dirty_tx; member in struct:hamachi_private 1005 for (; hmp->cur_tx - hmp->dirty_tx > 0; hmp->dirty_tx++) { 1006 int entry = hmp->dirty_tx % TX_RING_SIZE; 1120 hmp->dirty_rx = hmp->dirty_tx = 0; 1174 hmp->dirty_rx = hmp->dirty_tx = 0; 1283 if ((hmp->cur_tx - hmp->dirty_tx) < (TX_RING_SIZE - 4)) 1337 for (; hmp->cur_tx - hmp->dirty_tx > 0; hmp->dirty_tx [all...] |
/drivers/net/ethernet/sis/ |
H A D | sis190.c | 274 u32 dirty_tx; member in struct:sis190_private 687 u32 pending, dirty_tx = tp->dirty_tx; local 695 pending = tp->cur_tx - dirty_tx; 698 for (; pending; pending--, dirty_tx++) { 699 unsigned int entry = dirty_tx % NUM_TX_DESC; 720 if (tp->dirty_tx != dirty_tx) { 721 tp->dirty_tx = dirty_tx; 1180 u32 len, entry, dirty_tx; local [all...] |
H A D | sis900.c | 177 unsigned int cur_tx, dirty_tx; member in struct:sis900_private 1119 sis_priv->dirty_tx = sis_priv->cur_tx = 0; 1546 sis_priv->dirty_tx = sis_priv->cur_tx = 0; 1615 index_dirty_tx = sis_priv->dirty_tx; 1621 /* dirty_tx is met in the cycle of cur_tx, buffer full */ 1869 for (; sis_priv->dirty_tx != sis_priv->cur_tx; sis_priv->dirty_tx++) { 1874 entry = sis_priv->dirty_tx % NUM_TX_DESC; 1917 sis_priv->cur_tx - sis_priv->dirty_tx < NUM_TX_DESC - 4) {
|
/drivers/net/ethernet/smsc/ |
H A D | epic100.c | 272 unsigned int cur_tx, dirty_tx; member in struct:epic_private 800 dev->name, ep->cur_rx, ep->dirty_rx, ep->dirty_tx, ep->cur_tx); 824 outl(ep->tx_ring_dma + (ep->dirty_tx%TX_RING_SIZE)* 895 printk(KERN_DEBUG "%s: Tx indices: dirty_tx %d, cur_tx %d.\n", 896 dev->name, ep->dirty_tx, ep->cur_tx); 920 ep->dirty_tx = ep->cur_tx = 0; 974 free_count = ep->cur_tx - ep->dirty_tx; 1037 unsigned int dirty_tx, cur_tx; local 1044 for (dirty_tx = ep->dirty_tx; cur_t [all...] |
/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 842 vp->cur_tx = vp->dirty_tx = 0; 979 vp->full_bus_master_tx, vp->tx_full, vp->dirty_tx, 1051 if (vp->cur_tx - vp->dirty_tx > TX_RING_SIZE - 1) 1173 unsigned int dirty_tx = lp->dirty_tx; local 1175 while (lp->cur_tx - dirty_tx > 0) { 1176 int entry = dirty_tx % TX_RING_SIZE; 1183 dirty_tx++; 1185 lp->dirty_tx [all...] |
H A D | 3c59x.c | 605 unsigned int dirty_rx, dirty_tx; /* The ring entries to be free()ed. */ member in struct:vortex_private 1698 vp->cur_tx = vp->dirty_tx = 0; 1940 if (vp->cur_tx - vp->dirty_tx > 0 && ioread32(ioaddr + DownListPtr) == 0) 1941 iowrite32(vp->tx_ring_dma + (vp->dirty_tx % TX_RING_SIZE) * sizeof(struct boom_tx_desc), 1943 if (vp->cur_tx - vp->dirty_tx < TX_RING_SIZE) 2149 if (vp->cur_tx - vp->dirty_tx >= TX_RING_SIZE) { 2208 if (vp->cur_tx - vp->dirty_tx > TX_RING_SIZE - 1) { 2399 unsigned int dirty_tx = vp->dirty_tx; local 2402 while (vp->cur_tx - dirty_tx > [all...] |
/drivers/net/ethernet/dlink/ |
H A D | sundance.c | 180 empty by incrementing the dirty_tx mark. Iff the 'lp->tx_full' flag is set, it 389 unsigned int cur_tx, dirty_tx; member in struct:netdev_private 976 printk(KERN_DEBUG "cur_tx=%d(%02x) dirty_tx=%d(%02x)\n", 978 np->dirty_tx, np->dirty_tx % TX_RING_SIZE); 992 if (np->cur_tx - np->dirty_tx < TX_QUEUE_LEN - 4) { 1007 np->dirty_rx = np->dirty_tx = 0; 1102 if (np->cur_tx - np->dirty_tx < TX_QUEUE_LEN - 1 && 1149 np->cur_tx = np->dirty_tx = 0; 1247 for (; np->cur_tx - np->dirty_tx > [all...] |
/drivers/net/ethernet/realtek/ |
H A D | 8139too.c | 589 unsigned long dirty_tx; member in struct:rtl8139_private 1473 tp->dirty_tx = 0; 1668 tp->dirty_tx = 0; 1687 tp->cur_tx, tp->dirty_tx); 1691 i == tp->dirty_tx % NUM_TX_DESC ? 1765 if ((tp->cur_tx - NUM_TX_DESC) == tp->dirty_tx) 1780 unsigned long dirty_tx, tx_left; local 1785 dirty_tx = tp->dirty_tx; 1786 tx_left = tp->cur_tx - dirty_tx; [all...] |
/drivers/net/wireless/ |
H A D | adm8211.c | 311 unsigned int dirty_tx; local 315 for (dirty_tx = priv->dirty_tx; priv->cur_tx - dirty_tx; dirty_tx++) { 316 unsigned int entry = dirty_tx % priv->tx_ring_size; 348 if (priv->cur_tx - dirty_tx < priv->tx_ring_size - 2) 351 priv->dirty_tx = dirty_tx; 1469 priv->cur_rx = priv->cur_tx = priv->dirty_tx [all...] |
/drivers/net/ethernet/freescale/fs_enet/ |
H A D | fs_enet.h | 135 cbd_t __iomem *dirty_tx; /* ring entries to be free()ed. */ member in struct:fs_enet_private
|
/drivers/net/ethernet/adaptec/ |
H A D | starfire.c | 273 empty by incrementing the dirty_tx mark. Iff the netif_queue is stopped and the 573 unsigned int cur_tx, dirty_tx, reap_tx; member in struct:netdev_private 1176 np->dirty_rx = np->dirty_tx = np->rx_done = np->tx_done = 0; 1224 if ((np->cur_tx - np->dirty_tx) + skb_num_frags(skb) * 2 > TX_RING_SIZE) { 1274 dev->name, np->cur_tx, np->dirty_tx, 1299 if ((np->cur_tx - np->dirty_tx) + 4 > TX_RING_SIZE) 1364 dev->name, np->dirty_tx, np->tx_done, tx_status); 1376 np->dirty_tx += np->tx_info[entry].used_slots; 1385 np->dirty_tx++; 1398 (np->cur_tx - np->dirty_tx [all...] |
/drivers/net/ethernet/freescale/ |
H A D | fec.c | 198 * The dirty_tx tracks the current buffer that is being sent by the 199 * controller. The cur_tx and dirty_tx are equal under both completely 226 struct bufdesc *dirty_tx; member in struct:fec_enet_private 362 if (bdp == fep->dirty_tx) { 424 fep->dirty_tx = fep->cur_tx = fep->tx_bd_base; 569 bdp = fep->dirty_tx; 627 fep->dirty_tx = bdp;
|
/drivers/net/hippi/ |
H A D | rrunner.c | 624 * Set dirty_tx before we start receiving interrupts, otherwise 631 rrpriv->dirty_rx = rrpriv->dirty_tx = 0; 1071 txcon = rrpriv->dirty_tx; 1101 rrpriv->dirty_tx = txcon; 1104 != rrpriv->dirty_tx)){ 1297 cons = rrpriv->dirty_tx; 1462 if (txctrl->pi == rrpriv->dirty_tx){
|
/drivers/net/ethernet/via/ |
H A D | via-rhine.c | 209 empty by incrementing the dirty_tx mark. If at least half of the entries in 459 unsigned int cur_tx, dirty_tx; member in struct:rhine_private 1196 rp->dirty_tx = rp->cur_tx = 0; 1712 if (rp->cur_tx == rp->dirty_tx + TX_QUEUE_LEN) 1760 int txstatus = 0, entry = rp->dirty_tx % TX_RING_SIZE; 1763 while (rp->dirty_tx != rp->cur_tx) { 1807 entry = (++rp->dirty_tx) % TX_RING_SIZE; 1809 if ((rp->cur_tx - rp->dirty_tx) < TX_QUEUE_LEN - 4) 1959 int entry = rp->dirty_tx % TX_RING_SIZE;
|