/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/amso1100/ |
H A D | c2.c | 368 c2_port->c2dev->cur_tx = tx_ring->to_use - tx_ring->start; 642 c2_port->tx_ring.start + c2dev->cur_tx; 1068 c2dev->cur_tx = 0;
|
H A D | c2.h | 297 unsigned int cur_tx; member in struct:c2_dev
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/8260_io/ |
H A D | enet.c | 97 * cur_rx and cur_tx point to the currently available buffer. 99 * controller. The cur_tx and dirty_tx are equal under both completely 113 cbd_t *cur_rx, *cur_tx; /* The next free ring entry */ member in struct:scc_enet_private 174 bdp = cep->cur_tx; 230 cep->cur_tx = (cbd_t *)bdp; 248 printk(" Ring data dump: cur_tx %p%s cur_rx %p.\n", 249 cep->cur_tx, cep->tx_full ? " (full)" : "", 311 if ((bdp==cep->cur_tx) && (cep->tx_full == 0)) 358 * currently available BD (cur_tx) and determine if any 359 * buffers between the dirty_tx and cur_tx hav [all...] |
H A D | fcc_enet.c | 356 * cur_rx and cur_tx point to the currently available buffer. 358 * controller. The cur_tx and dirty_tx are equal under both completely 372 cbd_t *cur_rx, *cur_tx; /* The next free ring entry */ member in struct:fcc_enet_private 430 bdp = cep->cur_tx; 479 cep->cur_tx = (cbd_t *)bdp; 498 printk(" Ring data dump: cur_tx %p tx_free %d cur_rx %p.\n", 499 cep->cur_tx, cep->tx_free, 612 * currently available BD (cur_tx) and determine if any 613 * buffers between the dirty_tx and cur_tx have also been 1796 cep->dirty_tx = cep->cur_tx [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/8xx_io/ |
H A D | enet.c | 119 * cur_rx and cur_tx point to the currently available buffer. 121 * controller. The cur_tx and dirty_tx are equal under both completely 135 cbd_t *cur_rx, *cur_tx; /* The next free ring entry */ member in struct:scc_enet_private 202 bdp = cep->cur_tx; 264 cep->cur_tx = (cbd_t *)bdp; 282 printk(" Ring data dump: cur_tx %p%s cur_rx %p.\n", 283 cep->cur_tx, cep->tx_full ? " (full)" : "", 343 if ((bdp==cep->cur_tx) && (cep->tx_full == 0)) 390 * currently available BD (cur_tx) and determine if any 391 * buffers between the dirty_tx and cur_tx hav [all...] |
H A D | fec.c | 141 * cur_rx and cur_tx point to the currently available buffer. 143 * controller. The cur_tx and dirty_tx are equal under both completely 157 cbd_t *cur_rx, *cur_tx; /* The next free ring entry */ member in struct:fec_enet_private 358 bdp = fep->cur_tx; 420 fep->cur_tx = (cbd_t *)bdp; 439 printk("Ring data dump: cur_tx %lx%s, dirty_tx %lx cur_rx: %lx\n", 440 (unsigned long)fep->cur_tx, fep->tx_full ? " (full)" : "", 549 if (bdp == fep->cur_tx && fep->tx_full == 0) break; 1780 fep->dirty_tx = fep->cur_tx = fep->tx_bd_base;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/ |
H A D | yellowfin.c | 327 unsigned int cur_tx, dirty_tx; member in struct:yellowfin_private 694 dev->name, yp->cur_tx, yp->dirty_tx, 716 if (yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE) 730 yp->cur_rx = yp->cur_tx = 0; 816 "ownership" bit last, and only then increment cur_tx. */ 819 entry = yp->cur_tx % TX_RING_SIZE; 849 yp->cur_tx++; 857 yp->cur_tx++; 859 unsigned next_entry = yp->cur_tx % TX_RING_SIZE; 874 if (yp->cur_tx [all...] |
H A D | pci-skeleton.c | 465 atomic_t cur_tx; member in struct:netdrv_private 1207 atomic_set (&tp->cur_tx, 0); 1266 atomic_set (&tp->cur_tx, 0); 1310 dev->name, atomic_read (&tp->cur_tx), 1340 entry = atomic_read (&tp->cur_tx) % NUM_TX_DESC; 1354 atomic_inc (&tp->cur_tx); 1355 if ((atomic_read (&tp->cur_tx) - atomic_read (&tp->dirty_tx)) >= NUM_TX_DESC) 1369 int cur_tx, dirty_tx, tx_left; local 1377 cur_tx = atomic_read (&tp->cur_tx); [all...] |
H A D | pcnet32.c | 271 unsigned int cur_rx, cur_tx; /* The next free ring entry */ member in struct:pcnet32_private 1290 while (dirty_tx != lp->cur_tx) { 1358 delta = (lp->cur_tx - dirty_tx) & (lp->tx_mod_mask + lp->tx_ring_size); 1363 dev->name, dirty_tx, lp->cur_tx, 2370 lp->cur_rx = lp->cur_tx = 0; 2468 " Ring data dump: dirty_tx %d cur_tx %d%s cur_rx %d.", 2469 lp->dirty_tx, lp->cur_tx, lp->tx_full ? " (full)" : "", 2517 entry = lp->cur_tx & lp->tx_mod_mask; 2533 lp->cur_tx++;
|
H A D | r8169.c | 99 (tp->dirty_tx + NUM_TX_DESC - tp->cur_tx - 1) 436 u32 cur_tx; /* Index into the Tx descriptor buffer of next Rx pkt. */ member in struct:rtl8169_private 2066 tp->dirty_tx = tp->dirty_rx = tp->cur_tx = tp->cur_rx = 0; 2123 tp->cur_tx = tp->dirty_tx = 0; 2235 entry = tp->cur_tx; 2289 unsigned int frags, entry = tp->cur_tx % NUM_TX_DESC; 2342 tp->cur_tx += frags + 1; 2428 tx_left = tp->cur_tx - dirty_tx;
|
H A D | sis190.c | 288 u32 cur_tx; member in struct:sis190_private 684 pending = tp->cur_tx - dirty_tx; 792 tp->dirty_tx = tp->dirty_rx = tp->cur_tx = tp->cur_rx = 0; 1095 tp->cur_tx = tp->dirty_tx = 0; 1168 entry = tp->cur_tx % NUM_TX_DESC; 1194 tp->cur_tx++; 1203 if ((tp->cur_tx - NUM_TX_DESC) == dirty_tx) {
|
H A D | sis900.c | 128 unsigned int cur_tx, dirty_tx; member in struct:sis900_private 1054 sis_priv->dirty_tx = sis_priv->cur_tx = 0; 1455 sis_priv->dirty_tx = sis_priv->cur_tx = 0; 1514 entry = sis_priv->cur_tx % NUM_TX_DESC; 1523 sis_priv->cur_tx ++; 1524 index_cur_tx = sis_priv->cur_tx; 1531 /* dirty_tx is met in the cycle of cur_tx, buffer full */ 1782 for (; sis_priv->dirty_tx != sis_priv->cur_tx; sis_priv->dirty_tx++) { 1830 sis_priv->cur_tx - sis_priv->dirty_tx < NUM_TX_DESC - 4) {
|
H A D | sonic.c | 293 int entry = lp->cur_tx; 297 /* At this point, cur_tx is the index of a TD that is one of: 343 lp->cur_tx = entry; 686 lp->cur_tx = lp->next_tx = 0;
|
H A D | sonic.h | 317 unsigned int cur_tx; /* first unacked transmit packet */ member in struct:sonic_local
|
H A D | starfire.c | 612 unsigned int cur_tx, dirty_tx, reap_tx; member in struct:netdev_private 1173 np->cur_rx = np->cur_tx = np->reap_tx = 0; 1225 if ((np->cur_tx - np->dirty_tx) + skb_num_frags(skb) * 2 > TX_RING_SIZE) { 1237 entry = np->cur_tx % TX_RING_SIZE; 1272 dev->name, np->cur_tx, np->dirty_tx, 1276 np->cur_tx += np->tx_info[entry].used_slots; 1280 np->cur_tx += np->tx_info[entry].used_slots; 1284 if (np->cur_tx % (TX_RING_SIZE / 2) == 0) 1297 if ((np->cur_tx - np->dirty_tx) + 4 > TX_RING_SIZE) 1378 (np->cur_tx [all...] |
H A D | sundance.c | 380 unsigned int cur_tx, dirty_tx; member in struct:netdev_private 934 printk(KERN_DEBUG "cur_tx=%d(%02x) dirty_tx=%d(%02x)\n", 935 np->cur_tx, np->cur_tx % TX_RING_SIZE, 950 if (np->cur_tx - np->dirty_tx < TX_QUEUE_LEN - 4) { 964 np->cur_rx = np->cur_tx = 0; 1007 &np->tx_ring[(np->cur_tx - 1) % TX_RING_SIZE]; 1010 for (; np->cur_tx - np->cur_task > 0; np->cur_task++) { 1036 entry = np->cur_tx % TX_RING_SIZE; 1047 /* Increment cur_tx befor [all...] |
H A D | via-rhine.c | 391 unsigned int cur_tx, dirty_tx; member in struct:rhine_private 966 rp->dirty_tx = rp->cur_tx = 0; 1224 entry = rp->cur_tx % TX_RING_SIZE; 1267 rp->cur_tx++; 1276 if (rp->cur_tx == rp->dirty_tx + TX_QUEUE_LEN) 1285 dev->name, rp->cur_tx-1, entry); 1371 while (rp->dirty_tx != rp->cur_tx) { 1418 if ((rp->cur_tx - rp->dirty_tx) < TX_QUEUE_LEN - 4)
|
H A D | 3c515.c | 309 unsigned int cur_rx, cur_tx; /* The next free ring entry */ member in struct:corkscrew_private 829 vp->cur_tx = vp->dirty_tx = 0; 970 vp->cur_tx); 1003 int entry = vp->cur_tx % TX_RING_SIZE; 1010 if (vp->cur_tx != 0) 1011 prev_entry = &vp->tx_ring[(vp->cur_tx - 1) % TX_RING_SIZE]; 1016 dev->name, vp->cur_tx); 1040 vp->cur_tx++; 1041 if (vp->cur_tx - vp->dirty_tx > TX_RING_SIZE - 1) 1167 while (lp->cur_tx [all...] |
H A D | 3c59x.c | 593 unsigned int cur_rx, cur_tx; /* The next free ring entry */ member in struct:vortex_private 1618 vp->cur_tx = vp->dirty_tx = 0; 1859 if (vp->cur_tx - vp->dirty_tx > 0 && ioread32(ioaddr + DownListPtr) == 0) 1862 if (vp->cur_tx - vp->dirty_tx < TX_RING_SIZE) 2051 int entry = vp->cur_tx % TX_RING_SIZE; 2052 struct boom_tx_desc *prev_entry = &vp->tx_ring[(vp->cur_tx-1) % TX_RING_SIZE]; 2058 dev->name, vp->cur_tx); 2061 if (vp->cur_tx - vp->dirty_tx >= TX_RING_SIZE) { 2118 vp->cur_tx++; 2119 if (vp->cur_tx [all...] |
H A D | 8139too.c | 580 unsigned long cur_tx; member in struct:rtl8139_private 1441 tp->cur_tx = 0; 1636 tp->cur_tx = 0; 1655 dev->name, tp->cur_tx, tp->dirty_tx); 1706 entry = tp->cur_tx % NUM_TX_DESC; 1726 tp->cur_tx++; 1729 if ((tp->cur_tx - NUM_TX_DESC) == tp->dirty_tx) 1751 tx_left = tp->cur_tx - dirty_tx; 1795 if (tp->cur_tx - dirty_tx > NUM_TX_DESC) { 1797 dev->name, dirty_tx, tp->cur_tx); [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/tulip/ |
H A D | interrupt.c | 570 for (dirty_tx = tp->dirty_tx; tp->cur_tx - dirty_tx > 0; 622 if (tp->cur_tx - dirty_tx > TX_RING_SIZE) { 624 dev->name, dirty_tx, tp->cur_tx); 629 if (tp->cur_tx - dirty_tx < TX_RING_SIZE - 2)
|
H A D | tulip.h | 362 unsigned int cur_rx, cur_tx; /* The next free ring entry */ member in struct:tulip_private
|
H A D | tulip_core.c | 320 tp->cur_rx = tp->cur_tx = 0; 353 tp->tx_buffers[tp->cur_tx].skb = NULL; 354 tp->tx_buffers[tp->cur_tx].mapping = mapping; 357 tp->tx_ring[tp->cur_tx].length = cpu_to_le32(0x08000000 | 192); 358 tp->tx_ring[tp->cur_tx].buffer1 = cpu_to_le32(mapping); 359 tp->tx_ring[tp->cur_tx].status = cpu_to_le32(DescOwned); 361 tp->cur_tx++; 647 entry = tp->cur_tx % TX_RING_SIZE; 655 if (tp->cur_tx - tp->dirty_tx < TX_RING_SIZE/2) {/* Typical path */ 657 } else if (tp->cur_tx [all...] |
H A D | winbond-840.c | 311 unsigned int cur_tx, dirty_tx; member in struct:netdev_private 832 np->tx_q_bytes = np->dirty_tx = np->cur_tx = 0; 944 np->cur_tx, np->dirty_tx, np->tx_full, np->tx_q_bytes); 1005 entry = np->cur_tx % TX_RING_SIZE; 1025 * increasing np->cur_tx and setting DescOwned: 1026 * - if np->cur_tx is increased first the interrupt 1031 * since the np->cur_tx was not yet increased. 1034 np->cur_tx++; 1041 if (np->cur_tx - np->dirty_tx > TX_QUEUE_LEN || 1053 dev->name, np->cur_tx, entr [all...] |
H A D | xircom_tulip_cb.c | 303 unsigned int cur_rx, cur_tx; /* The next free ring entry */ member in struct:xircom_private 862 tp->cur_rx = tp->cur_tx = 0; 913 entry = tp->cur_tx % TX_RING_SIZE; 924 if (tp->cur_tx - tp->dirty_tx < TX_RING_SIZE/2) {/* Typical path */ 926 } else if (tp->cur_tx - tp->dirty_tx == TX_RING_SIZE/2) { 928 } else if (tp->cur_tx - tp->dirty_tx < TX_RING_SIZE - 2) { 940 tp->cur_tx++; 1081 for (dirty_tx = tp->dirty_tx; tp->cur_tx - dirty_tx > 0; 1118 if (tp->cur_tx - dirty_tx > TX_RING_SIZE) { 1120 dev->name, dirty_tx, tp->cur_tx, t [all...] |