Searched refs:dirty_tx (Results 1 - 25 of 37) sorted by path

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/8260_io/
H A Denet.c98 * The dirty_tx tracks the current buffer that is being sent by the
99 * controller. The cur_tx and dirty_tx are equal under both completely
114 cbd_t *dirty_tx; /* The ring entries to be free()ed. */ member in struct:scc_enet_private
309 bdp = cep->dirty_tx;
359 * buffers between the dirty_tx and cur_tx have also been
374 cep->dirty_tx = (cbd_t *)bdp;
690 cep->dirty_tx = cep->cur_tx = cep->tx_bd_base;
H A Dfcc_enet.c357 * The dirty_tx tracks the current buffer that is being sent by the
358 * controller. The cur_tx and dirty_tx are equal under both completely
373 cbd_t *dirty_tx; /* The ring entries to be free()ed. */ member in struct:fcc_enet_private
564 bdp = cep->dirty_tx;
613 * buffers between the dirty_tx and cur_tx have also been
627 cep->dirty_tx = (cbd_t *)bdp;
1796 cep->dirty_tx = cep->cur_tx = cep->tx_bd_base;
2222 fep->dirty_tx = fep->cur_tx = fep->tx_bd_base;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/8xx_io/
H A Denet.c120 * The dirty_tx tracks the current buffer that is being sent by the
121 * controller. The cur_tx and dirty_tx are equal under both completely
136 cbd_t *dirty_tx; /* The ring entries to be free()ed. */ member in struct:scc_enet_private
341 bdp = cep->dirty_tx;
391 * buffers between the dirty_tx and cur_tx have also been
405 cep->dirty_tx = (cbd_t *)bdp;
756 cep->dirty_tx = cep->cur_tx = cep->tx_bd_base;
H A Dfec.c142 * The dirty_tx tracks the current buffer that is being sent by the
143 * controller. The cur_tx and dirty_tx are equal under both completely
158 cbd_t *dirty_tx; /* The ring entries to be free()ed. */ member in struct:fec_enet_private
439 printk("Ring data dump: cur_tx %lx%s, dirty_tx %lx cur_rx: %lx\n",
441 (unsigned long)fep->dirty_tx,
546 bdp = fep->dirty_tx;
617 fep->dirty_tx = (cbd_t *)bdp;
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 D3c515.c310 unsigned int dirty_rx, dirty_tx;/* The ring entries to be free()ed. */ member in struct:corkscrew_private
829 vp->cur_tx = vp->dirty_tx = 0;
969 vp->full_bus_master_tx, vp->tx_full, vp->dirty_tx,
1041 if (vp->cur_tx - vp->dirty_tx > TX_RING_SIZE - 1)
1165 unsigned int dirty_tx = lp->dirty_tx; local
1167 while (lp->cur_tx - dirty_tx > 0) {
1168 int entry = dirty_tx % TX_RING_SIZE;
1175 dirty_tx++;
1177 lp->dirty_tx
[all...]
H A D3c59x.c594 unsigned int dirty_rx, dirty_tx; /* The ring entries to be free()ed. */ 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)
1860 iowrite32(vp->tx_ring_dma + (vp->dirty_tx % TX_RING_SIZE) * sizeof(struct boom_tx_desc),
1862 if (vp->cur_tx - vp->dirty_tx < TX_RING_SIZE)
2061 if (vp->cur_tx - vp->dirty_tx >= TX_RING_SIZE) {
2119 if (vp->cur_tx - vp->dirty_tx > TX_RING_SIZE - 1) {
2294 unsigned int dirty_tx = vp->dirty_tx; local
2297 while (vp->cur_tx - dirty_tx >
[all...]
H A D8139too.c581 unsigned long dirty_tx; member in struct:rtl8139_private
1442 tp->dirty_tx = 0;
1637 tp->dirty_tx = 0;
1655 dev->name, tp->cur_tx, tp->dirty_tx);
1659 i == tp->dirty_tx % NUM_TX_DESC ?
1729 if ((tp->cur_tx - NUM_TX_DESC) == tp->dirty_tx)
1745 unsigned long dirty_tx, tx_left; local
1750 dirty_tx = tp->dirty_tx;
1751 tx_left = tp->cur_tx - dirty_tx;
[all...]
H A Dariadne.c100 int dirty_tx; /* The ring entries to be free()ed. */ member in struct:ariadne_private
340 priv->dirty_tx = 0;
439 int dirty_tx = priv->dirty_tx; local
442 while (dirty_tx < priv->cur_tx) {
443 int entry = dirty_tx % TX_RING_SIZE;
475 dirty_tx++;
479 if (priv->cur_tx - dirty_tx >= TX_RING_SIZE) {
481 "full=%d.\n", dirty_tx, priv->cur_tx, priv->tx_full);
482 dirty_tx
[all...]
H A Datarilance.c224 int dirty_tx; /* Ring entries to be freed. */ member in struct:lance_private
699 lp->dirty_tx = 0;
756 DPRINTK( 2, ( "Ring data: dirty_tx %d cur_tx %d%s cur_rx %d\n",
757 lp->dirty_tx, lp->cur_tx,
843 while( lp->cur_tx >= TX_RING_SIZE && lp->dirty_tx >= TX_RING_SIZE ) {
845 lp->dirty_tx -= TX_RING_SIZE;
897 int dirty_tx = lp->dirty_tx; local
899 while( dirty_tx < lp->cur_tx) {
900 int entry = dirty_tx
[all...]
H A Deepro100.c229 is done at interrupt time using the 'dirty_tx' index, and checking for the
422 unsigned int cur_tx, dirty_tx; /* The ring entries to be free()ed. */ member in struct:speedo_private
972 sp->dirty_tx = 0;
1107 iowrite32(TX_RING_ELEM_DMA(sp, sp->dirty_tx % TX_RING_SIZE),
1210 dev->name, sp->cur_tx, sp->dirty_tx);
1213 i == sp->dirty_tx % TX_RING_SIZE ? '*' : ' ',
1287 while ((int)(sp->cur_tx - sp->dirty_tx) > 0) {
1288 entry = sp->dirty_tx % TX_RING_SIZE;
1297 sp->dirty_tx++;
1348 sp->dirty_tx, s
1457 unsigned int dirty_tx; local
[all...]
H A Depic100.c266 unsigned int cur_tx, dirty_tx; member in struct:epic_private
789 dev->name, ep->cur_rx, ep->dirty_rx, ep->dirty_tx, ep->cur_tx);
813 outl(ep->tx_ring_dma + (ep->dirty_tx%TX_RING_SIZE)*
885 printk(KERN_DEBUG "%s: Tx indices: dirty_tx %d, cur_tx %d.\n",
886 dev->name, ep->dirty_tx, ep->cur_tx);
910 ep->dirty_tx = ep->cur_tx = 0;
965 free_count = ep->cur_tx - ep->dirty_tx;
1029 unsigned int dirty_tx, cur_tx; local
1036 for (dirty_tx = ep->dirty_tx; cur_t
[all...]
H A Dfec.c184 * The dirty_tx tracks the current buffer that is being sent by the
185 * controller. The cur_tx and dirty_tx are equal under both completely
204 cbd_t *dirty_tx; /* The ring entries to be free()ed. */ member in struct:fec_enet_private
392 if (bdp == fep->dirty_tx) {
416 printk("Ring data dump: cur_tx %lx%s, dirty_tx %lx cur_rx: %lx\n",
418 (unsigned long)fep->dirty_tx,
502 bdp = fep->dirty_tx;
559 fep->dirty_tx = (cbd_t *)bdp;
2334 fep->dirty_tx = fep->cur_tx = fep->tx_bd_base;
2485 fep->dirty_tx
[all...]
H A Dgianfar.c734 priv->dirty_tx = priv->cur_tx = priv->tx_bd_base;
1046 if (txbdp == priv->dirty_tx) {
1220 bdp = priv->dirty_tx;
1222 /* If dirty_tx and cur_tx are the same, then either the */
1248 /* Move dirty_tx to be the next bd */
1249 priv->dirty_tx = bdp;
H A Dgianfar.h655 * The dirty_tx tracks the current buffer that is being sent by the
656 * controller. The cur_tx and dirty_tx are equal under both completely
681 struct txbd8 *dirty_tx; /* First buffer in line member in struct:gfar_private
H A Dhamachi.c280 empty by incrementing the dirty_tx mark. Iff the 'hmp->tx_full' flag is set, it
500 unsigned int cur_tx, dirty_tx; member in struct:hamachi_private
1015 for (; hmp->cur_tx - hmp->dirty_tx > 0; hmp->dirty_tx++) {
1016 int entry = hmp->dirty_tx % TX_RING_SIZE;
1127 hmp->dirty_rx = hmp->dirty_tx = 0;
1179 hmp->dirty_rx = hmp->dirty_tx = 0;
1355 if ((hmp->cur_tx - hmp->dirty_tx) < (TX_RING_SIZE - 4))
1410 for (; hmp->cur_tx - hmp->dirty_tx > 0; hmp->dirty_tx
[all...]
H A Dlance.c249 int dirty_rx, dirty_tx; /* The ring entries to be free()ed. */ member in struct:lance_private
861 lp->dirty_rx = lp->dirty_tx = 0;
924 printk (" Ring data dump: dirty_tx %d cur_tx %d%s cur_rx %d.",
925 lp->dirty_tx, lp->cur_tx, netif_queue_stopped(dev) ? " (full)" : "",
1007 if ((lp->cur_tx - lp->dirty_tx) >= TX_RING_SIZE)
1044 int dirty_tx = lp->dirty_tx; local
1046 while (dirty_tx < lp->cur_tx) {
1047 int entry = dirty_tx & TX_RING_MOD_MASK;
1083 dirty_tx
[all...]
H A Dnatsemi.c571 unsigned int cur_tx, dirty_tx; member in struct:netdev_private
1970 np->dirty_tx = np->cur_tx = 0;
2076 np->dirty_tx = np->cur_tx = 0;
2110 if (np->cur_tx - np->dirty_tx >= TX_QUEUE_LEN - 1) {
2112 if (np->cur_tx - np->dirty_tx >= TX_QUEUE_LEN - 1)
2136 for (; np->cur_tx - np->dirty_tx > 0; np->dirty_tx++) {
2137 int entry = np->dirty_tx % TX_RING_SIZE;
2143 dev->name, np->dirty_tx,
2169 && np->cur_tx - np->dirty_tx < TX_QUEUE_LE
[all...]
H A Dpci-skeleton.c466 atomic_t dirty_tx; member in struct:netdrv_private
1208 atomic_set (&tp->dirty_tx, 0);
1267 atomic_set (&tp->dirty_tx, 0);
1311 atomic_read (&tp->dirty_tx));
1315 i == atomic_read (&tp->dirty_tx) % NUM_TX_DESC ?
1355 if ((atomic_read (&tp->cur_tx) - atomic_read (&tp->dirty_tx)) >= NUM_TX_DESC)
1369 int cur_tx, dirty_tx, tx_left; local
1375 dirty_tx = atomic_read (&tp->dirty_tx);
1378 tx_left = cur_tx - dirty_tx;
[all...]
H A Dpcnet32.c281 dirty_tx; member in struct:pcnet32_private
1286 unsigned int dirty_tx = lp->dirty_tx; local
1290 while (dirty_tx != lp->cur_tx) {
1291 int entry = dirty_tx & lp->tx_mod_mask;
1355 dirty_tx++;
1358 delta = (lp->cur_tx - dirty_tx) & (lp->tx_mod_mask + lp->tx_ring_size);
1363 dev->name, dirty_tx, lp->cur_tx,
1365 dirty_tx += lp->tx_ring_size;
1376 lp->dirty_tx
[all...]
H A Dr8169.c99 (tp->dirty_tx + NUM_TX_DESC - tp->cur_tx - 1)
438 u32 dirty_tx; member in struct:rtl8169_private
2066 tp->dirty_tx = tp->dirty_rx = tp->cur_tx = tp->cur_rx = 0;
2106 for (i = tp->dirty_tx; i < tp->dirty_tx + NUM_TX_DESC; i++) {
2123 tp->cur_tx = tp->dirty_tx = 0;
2420 unsigned int dirty_tx, tx_left; local
2426 dirty_tx = tp->dirty_tx;
2428 tx_left = tp->cur_tx - dirty_tx;
[all...]
H A Drrunner.c616 * Set dirty_tx before we start receiving interrupts, otherwise
623 rrpriv->dirty_rx = rrpriv->dirty_tx = 0;
1064 txcon = rrpriv->dirty_tx;
1094 rrpriv->dirty_tx = txcon;
1097 != rrpriv->dirty_tx)){
1290 cons = rrpriv->dirty_tx;
1454 if (txctrl->pi == rrpriv->dirty_tx){
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/fec_8xx/
H A Dfec_8xx.h118 cbd_t *dirty_tx; /* ring entries to be free()ed. */ member in struct:fec_enet_private
H A Dfec_main.c281 fep->dirty_tx = fep->cur_tx = fep->tx_bd_base;
632 bdp = fep->dirty_tx;
697 fep->dirty_tx = bdp;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/fs_enet/
H A Dfs_enet-main.c352 bdp = fep->dirty_tx;
426 fep->dirty_tx = bdp;
502 fep->dirty_tx = fep->cur_tx = fep->tx_bd_base;
H A Dfs_enet.h136 cbd_t *dirty_tx; /* ring entries to be free()ed. */ member in struct:fs_enet_private

Completed in 351 milliseconds

12