/drivers/net/ethernet/dec/tulip/ |
H A D | interrupt.c | 584 unsigned int dirty_tx; local 588 for (dirty_tx = tp->dirty_tx; tp->cur_tx - dirty_tx > 0; 589 dirty_tx++) { 590 int entry = dirty_tx % TX_RING_SIZE; 644 if (tp->cur_tx - dirty_tx > TX_RING_SIZE) { 647 dirty_tx, tp->cur_tx); 648 dirty_tx += TX_RING_SIZE; 652 if (tp->cur_tx - dirty_tx < TX_RING_SIZ [all...] |
H A D | tulip_core.c | 336 tp->dirty_rx = tp->dirty_tx = 0; 686 if (tp->cur_tx - tp->dirty_tx < TX_RING_SIZE/2) {/* Typical path */ 688 } else if (tp->cur_tx - tp->dirty_tx == TX_RING_SIZE/2) { 690 } else if (tp->cur_tx - tp->dirty_tx < TX_RING_SIZE - 2) { 717 unsigned int dirty_tx; local 719 for (dirty_tx = tp->dirty_tx ; tp->cur_tx - dirty_tx > 0; 720 dirty_tx++) { 721 int entry = dirty_tx [all...] |
H A D | winbond-840.c | 314 unsigned int cur_tx, dirty_tx; member in struct:netdev_private 834 np->tx_q_bytes = np->dirty_tx = np->cur_tx = 0; 948 np->cur_tx, np->dirty_tx, np->tx_full, np->tx_q_bytes); 954 * Under high load dirty_tx and the internal tx descriptor pointer 1046 if (np->cur_tx - np->dirty_tx > TX_QUEUE_LEN || 1064 for (; np->cur_tx - np->dirty_tx > 0; np->dirty_tx++) { 1065 int entry = np->dirty_tx % TX_RING_SIZE; 1102 np->cur_tx - np->dirty_tx < TX_QUEUE_LEN_RESTART && 1143 np->cur_tx != np->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 | 93 int dirty_tx; /* The ring entries to be free()ed */ member in struct:ariadne_private 126 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 | 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; 930 printk (" Ring data dump: dirty_tx %d cur_tx %d%s cur_rx %d.", 931 lp->dirty_tx, lp->cur_tx, netif_queue_stopped(dev) ? " (full)" : "", 1012 if ((lp->cur_tx - lp->dirty_tx) >= TX_RING_SIZE) 1049 int dirty_tx = lp->dirty_tx; local 1051 while (dirty_tx < lp->cur_tx) { 1052 int entry = dirty_tx & TX_RING_MOD_MASK; 1091 dirty_tx [all...] |
H A D | atarilance.c | 223 int dirty_tx; /* Ring entries to be freed. */ member in struct:lance_private 690 lp->dirty_tx = 0; 747 DPRINTK( 2, ( "Ring data: dirty_tx %d cur_tx %d%s cur_rx %d\n", 748 lp->dirty_tx, lp->cur_tx, 829 while( lp->cur_tx >= TX_RING_SIZE && lp->dirty_tx >= TX_RING_SIZE ) { 831 lp->dirty_tx -= TX_RING_SIZE; 882 int dirty_tx = lp->dirty_tx; local 884 while( dirty_tx < lp->cur_tx) { 885 int entry = dirty_tx [all...] |
H A D | pcnet32.c | 285 dirty_tx; member in struct:pcnet32_private 1248 unsigned int dirty_tx = lp->dirty_tx; local 1252 while (dirty_tx != lp->cur_tx) { 1253 int entry = dirty_tx & lp->tx_mod_mask; 1309 dirty_tx++; 1312 delta = (lp->cur_tx - dirty_tx) & (lp->tx_mod_mask + lp->tx_ring_size); 1315 dirty_tx, lp->cur_tx, lp->tx_full); 1316 dirty_tx += lp->tx_ring_size; 1327 lp->dirty_tx [all...] |
/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac.h | 48 unsigned int dirty_tx; member in struct:stmmac_priv
|
/drivers/net/ethernet/freescale/fs_enet/ |
H A D | fs_enet.h | 139 cbd_t __iomem *dirty_tx; /* ring entries to be free()ed. */ member in struct:fs_enet_private
|
/drivers/net/wireless/ |
H A D | adm8211.c | 310 unsigned int dirty_tx; local 314 for (dirty_tx = priv->dirty_tx; priv->cur_tx - dirty_tx; dirty_tx++) { 315 unsigned int entry = dirty_tx % priv->tx_ring_size; 347 if (priv->cur_tx - dirty_tx < priv->tx_ring_size - 2) 350 priv->dirty_tx = dirty_tx; 1469 priv->cur_rx = priv->cur_tx = priv->dirty_tx [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 1694 vp->cur_tx = vp->dirty_tx = 0; 1936 if (vp->cur_tx - vp->dirty_tx > 0 && ioread32(ioaddr + DownListPtr) == 0) 1937 iowrite32(vp->tx_ring_dma + (vp->dirty_tx % TX_RING_SIZE) * sizeof(struct boom_tx_desc), 1939 if (vp->cur_tx - vp->dirty_tx < TX_RING_SIZE) 2148 if (vp->cur_tx - vp->dirty_tx >= TX_RING_SIZE) { 2234 if (vp->cur_tx - vp->dirty_tx > TX_RING_SIZE - 1) { 2430 unsigned int dirty_tx = vp->dirty_tx; local 2433 while (vp->cur_tx - dirty_tx > [all...] |
/drivers/net/ethernet/packetengines/ |
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 998 for (; hmp->cur_tx - hmp->dirty_tx > 0; hmp->dirty_tx++) { 999 int entry = hmp->dirty_tx % TX_RING_SIZE; 1113 hmp->dirty_rx = hmp->dirty_tx = 0; 1167 hmp->dirty_rx = hmp->dirty_tx = 0; 1276 if ((hmp->cur_tx - hmp->dirty_tx) < (TX_RING_SIZE - 4)) 1330 for (; hmp->cur_tx - hmp->dirty_tx > 0; hmp->dirty_tx [all...] |
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 689 yp->cur_tx, yp->dirty_tx, 714 if (yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE) 729 yp->dirty_tx = 0; 875 if (yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE) 919 for (; yp->cur_tx - yp->dirty_tx > 0; yp->dirty_tx++) { 920 int entry = yp->dirty_tx % TX_RING_SIZE; 935 yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZ 942 unsigned dirty_tx = yp->dirty_tx; local [all...] |
/drivers/net/ethernet/sis/ |
H A D | sis900.c | 180 unsigned int cur_tx, dirty_tx; member in struct:sis900_private 1131 sis_priv->dirty_tx = sis_priv->cur_tx = 0; 1558 sis_priv->dirty_tx = sis_priv->cur_tx = 0; 1629 index_dirty_tx = sis_priv->dirty_tx; 1635 /* dirty_tx is met in the cycle of cur_tx, buffer full */ 1892 for (; sis_priv->dirty_tx != sis_priv->cur_tx; sis_priv->dirty_tx++) { 1897 entry = sis_priv->dirty_tx % NUM_TX_DESC; 1940 sis_priv->cur_tx - sis_priv->dirty_tx < NUM_TX_DESC - 4) {
|
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; 1178 u32 len, entry, dirty_tx; local [all...] |
/drivers/net/ethernet/smsc/ |
H A D | epic100.c | 268 unsigned int cur_tx, dirty_tx; member in struct:epic_private 790 ep->cur_rx, ep->dirty_rx, ep->dirty_tx, ep->cur_tx); 815 (ep->dirty_tx % TX_RING_SIZE) * sizeof(struct epic_tx_desc)); 880 netdev_dbg(dev, "Tx indices: dirty_tx %d, cur_tx %d.\n", 881 ep->dirty_tx, ep->cur_tx); 905 ep->dirty_tx = ep->cur_tx = 0; 960 free_count = ep->cur_tx - ep->dirty_tx; 1021 unsigned int dirty_tx, cur_tx; local 1028 for (dirty_tx = ep->dirty_tx; cur_t [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 398 unsigned int cur_tx, dirty_tx; member in struct:netdev_private 1000 printk(KERN_DEBUG "cur_tx=%d(%02x) dirty_tx=%d(%02x)\n", 1002 np->dirty_tx, np->dirty_tx % TX_RING_SIZE); 1016 if (np->cur_tx - np->dirty_tx < TX_QUEUE_LEN - 4) { 1031 np->dirty_rx = np->dirty_tx = 0; 1126 if (np->cur_tx - np->dirty_tx < TX_QUEUE_LEN - 1 && 1173 np->cur_tx = np->dirty_tx = 0; 1271 for (; np->cur_tx - np->dirty_tx > [all...] |
/drivers/net/ethernet/freescale/ |
H A D | fec.h | 433 struct bufdesc *dirty_tx; member in struct:fec_enet_priv_tx_q 452 * The dirty_tx tracks the current buffer that is being sent by the 453 * controller. The cur_tx and dirty_tx are equal under both completely
|
/drivers/net/ethernet/adaptec/ |
H A D | starfire.c | 260 empty by incrementing the dirty_tx mark. Iff the netif_queue is stopped and the 560 unsigned int cur_tx, dirty_tx, reap_tx; member in struct:netdev_private 1145 np->dirty_rx = np->dirty_tx = np->rx_done = np->tx_done = 0; 1193 if ((np->cur_tx - np->dirty_tx) + skb_num_frags(skb) * 2 > TX_RING_SIZE) { 1243 dev->name, np->cur_tx, np->dirty_tx, 1268 if ((np->cur_tx - np->dirty_tx) + 4 > TX_RING_SIZE) 1333 dev->name, np->dirty_tx, np->tx_done, tx_status); 1345 np->dirty_tx += np->tx_info[entry].used_slots; 1354 np->dirty_tx++; 1367 (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 1447 tp->dirty_tx = 0; 1642 tp->dirty_tx = 0; 1661 tp->cur_tx, tp->dirty_tx); 1665 i == tp->dirty_tx % NUM_TX_DESC ? 1739 if ((tp->cur_tx - NUM_TX_DESC) == tp->dirty_tx) 1754 unsigned long dirty_tx, tx_left; local 1759 dirty_tx = tp->dirty_tx; 1760 tx_left = tp->cur_tx - dirty_tx; [all...] |
/drivers/net/ethernet/renesas/ |
H A D | sh_eth.h | 507 u32 cur_tx, dirty_tx; member in struct:sh_eth_private
|
/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_common.h | 389 unsigned int dirty_tx; member in struct:sxgbe_tx_queue
|
/drivers/net/ethernet/via/ |
H A D | via-rhine.c | 206 empty by incrementing the dirty_tx mark. If at least half of the entries in 475 unsigned int cur_tx, dirty_tx; member in struct:rhine_private 1285 rp->dirty_tx = rp->cur_tx = 0; 1815 if (rp->cur_tx == rp->dirty_tx + TX_QUEUE_LEN) 1864 int txstatus = 0, entry = rp->dirty_tx % TX_RING_SIZE; 1867 while (rp->dirty_tx != rp->cur_tx) { 1914 entry = (++rp->dirty_tx) % TX_RING_SIZE; 1916 if ((rp->cur_tx - rp->dirty_tx) < TX_QUEUE_LEN - 4) 2076 int entry = rp->dirty_tx % TX_RING_SIZE;
|