dirty_tx          311 drivers/net/ethernet/3com/3c515.c 	unsigned int dirty_rx, dirty_tx;/* The ring entries to be free()ed. */
dirty_tx          842 drivers/net/ethernet/3com/3c515.c 		vp->cur_tx = vp->dirty_tx = 0;
dirty_tx          979 drivers/net/ethernet/3com/3c515.c 	       vp->full_bus_master_tx, vp->tx_full, vp->dirty_tx,
dirty_tx         1051 drivers/net/ethernet/3com/3c515.c 		if (vp->cur_tx - vp->dirty_tx > TX_RING_SIZE - 1)
dirty_tx         1173 drivers/net/ethernet/3com/3c515.c 			unsigned int dirty_tx = lp->dirty_tx;
dirty_tx         1175 drivers/net/ethernet/3com/3c515.c 			while (lp->cur_tx - dirty_tx > 0) {
dirty_tx         1176 drivers/net/ethernet/3com/3c515.c 				int entry = dirty_tx % TX_RING_SIZE;
dirty_tx         1183 drivers/net/ethernet/3com/3c515.c 				dirty_tx++;
dirty_tx         1185 drivers/net/ethernet/3com/3c515.c 			lp->dirty_tx = dirty_tx;
dirty_tx         1187 drivers/net/ethernet/3com/3c515.c 			if (lp->tx_full && (lp->cur_tx - dirty_tx <= TX_RING_SIZE - 1)) {
dirty_tx          605 drivers/net/ethernet/3com/3c59x.c 	unsigned int dirty_tx;	/* The ring entries to be free()ed. */
dirty_tx         1677 drivers/net/ethernet/3com/3c59x.c 		vp->cur_tx = vp->dirty_tx = 0;
dirty_tx         1912 drivers/net/ethernet/3com/3c59x.c 		if (vp->cur_tx - vp->dirty_tx > 0  &&  ioread32(ioaddr + DownListPtr) == 0)
dirty_tx         1913 drivers/net/ethernet/3com/3c59x.c 			iowrite32(vp->tx_ring_dma + (vp->dirty_tx % TX_RING_SIZE) * sizeof(struct boom_tx_desc),
dirty_tx         1915 drivers/net/ethernet/3com/3c59x.c 		if (vp->cur_tx - vp->dirty_tx < TX_RING_SIZE) {
dirty_tx         2135 drivers/net/ethernet/3com/3c59x.c 	if (vp->cur_tx - vp->dirty_tx >= TX_RING_SIZE) {
dirty_tx         2223 drivers/net/ethernet/3com/3c59x.c 	if (vp->cur_tx - vp->dirty_tx > TX_RING_SIZE - 1) {
dirty_tx         2416 drivers/net/ethernet/3com/3c59x.c 			unsigned int dirty_tx = vp->dirty_tx;
dirty_tx         2419 drivers/net/ethernet/3com/3c59x.c 			while (vp->cur_tx - dirty_tx > 0) {
dirty_tx         2420 drivers/net/ethernet/3com/3c59x.c 				int entry = dirty_tx % TX_RING_SIZE;
dirty_tx         2456 drivers/net/ethernet/3com/3c59x.c 				dirty_tx++;
dirty_tx         2458 drivers/net/ethernet/3com/3c59x.c 			vp->dirty_tx = dirty_tx;
dirty_tx         2459 drivers/net/ethernet/3com/3c59x.c 			if (vp->cur_tx - dirty_tx <= TX_RING_SIZE - 1) {
dirty_tx         2798 drivers/net/ethernet/3com/3c59x.c 					vp->dirty_tx, vp->dirty_tx % TX_RING_SIZE,
dirty_tx         2802 drivers/net/ethernet/3com/3c59x.c 				   &vp->tx_ring[vp->dirty_tx % TX_RING_SIZE]);
dirty_tx          560 drivers/net/ethernet/adaptec/starfire.c 	unsigned int cur_tx, dirty_tx, reap_tx;
dirty_tx         1144 drivers/net/ethernet/adaptec/starfire.c 	np->dirty_rx = np->dirty_tx = np->rx_done = np->tx_done = 0;
dirty_tx         1199 drivers/net/ethernet/adaptec/starfire.c 	if ((np->cur_tx - np->dirty_tx) + skb_num_frags(skb) * 2 > TX_RING_SIZE) {
dirty_tx         1255 drivers/net/ethernet/adaptec/starfire.c 			       dev->name, np->cur_tx, np->dirty_tx,
dirty_tx         1280 drivers/net/ethernet/adaptec/starfire.c 	if ((np->cur_tx - np->dirty_tx) + 4 > TX_RING_SIZE)
dirty_tx         1367 drivers/net/ethernet/adaptec/starfire.c 				       dev->name, np->dirty_tx, np->tx_done, tx_status);
dirty_tx         1379 drivers/net/ethernet/adaptec/starfire.c 				np->dirty_tx += np->tx_info[entry].used_slots;
dirty_tx         1388 drivers/net/ethernet/adaptec/starfire.c 						np->dirty_tx++;
dirty_tx         1401 drivers/net/ethernet/adaptec/starfire.c 		    (np->cur_tx - np->dirty_tx + 4 < TX_RING_SIZE)) {
dirty_tx         1948 drivers/net/ethernet/adaptec/starfire.c 		       dev->name, np->cur_tx, np->dirty_tx,
dirty_tx           93 drivers/net/ethernet/amd/ariadne.c 	int dirty_tx;			/* The ring entries to be free()ed */
dirty_tx          126 drivers/net/ethernet/amd/ariadne.c 	priv->dirty_tx = 0;
dirty_tx          305 drivers/net/ethernet/amd/ariadne.c 			int dirty_tx = priv->dirty_tx;
dirty_tx          308 drivers/net/ethernet/amd/ariadne.c 			while (dirty_tx < priv->cur_tx) {
dirty_tx          309 drivers/net/ethernet/amd/ariadne.c 				int entry = dirty_tx % TX_RING_SIZE;
dirty_tx          341 drivers/net/ethernet/amd/ariadne.c 				dirty_tx++;
dirty_tx          345 drivers/net/ethernet/amd/ariadne.c 			if (priv->cur_tx - dirty_tx >= TX_RING_SIZE) {
dirty_tx          347 drivers/net/ethernet/amd/ariadne.c 					   dirty_tx, priv->cur_tx,
dirty_tx          349 drivers/net/ethernet/amd/ariadne.c 				dirty_tx += TX_RING_SIZE;
dirty_tx          354 drivers/net/ethernet/amd/ariadne.c 			    dirty_tx > priv->cur_tx - TX_RING_SIZE + 2) {
dirty_tx          360 drivers/net/ethernet/amd/ariadne.c 			priv->dirty_tx = dirty_tx;
dirty_tx          598 drivers/net/ethernet/amd/ariadne.c 	    (priv->dirty_tx >= TX_RING_SIZE)) {
dirty_tx          601 drivers/net/ethernet/amd/ariadne.c 			   priv->cur_tx, priv->dirty_tx);
dirty_tx          604 drivers/net/ethernet/amd/ariadne.c 		priv->dirty_tx -= TX_RING_SIZE;
dirty_tx          223 drivers/net/ethernet/amd/atarilance.c 	int			dirty_tx;		/* Ring entries to be freed. */
dirty_tx          690 drivers/net/ethernet/amd/atarilance.c 	lp->dirty_tx = 0;
dirty_tx          748 drivers/net/ethernet/amd/atarilance.c 						  lp->dirty_tx, lp->cur_tx,
dirty_tx          830 drivers/net/ethernet/amd/atarilance.c 	while( lp->cur_tx >= TX_RING_SIZE && lp->dirty_tx >= TX_RING_SIZE ) {
dirty_tx          832 drivers/net/ethernet/amd/atarilance.c 		lp->dirty_tx -= TX_RING_SIZE;
dirty_tx          883 drivers/net/ethernet/amd/atarilance.c 			int dirty_tx = lp->dirty_tx;
dirty_tx          885 drivers/net/ethernet/amd/atarilance.c 			while( dirty_tx < lp->cur_tx) {
dirty_tx          886 drivers/net/ethernet/amd/atarilance.c 				int entry = dirty_tx & TX_RING_MOD_MASK;
dirty_tx          917 drivers/net/ethernet/amd/atarilance.c 				dirty_tx++;
dirty_tx          921 drivers/net/ethernet/amd/atarilance.c 			if (lp->cur_tx - dirty_tx >= TX_RING_SIZE) {
dirty_tx          924 drivers/net/ethernet/amd/atarilance.c 							  dirty_tx, lp->cur_tx, lp->tx_full ));
dirty_tx          925 drivers/net/ethernet/amd/atarilance.c 				dirty_tx += TX_RING_SIZE;
dirty_tx          930 drivers/net/ethernet/amd/atarilance.c 				dirty_tx > lp->cur_tx - TX_RING_SIZE + 2) {
dirty_tx          936 drivers/net/ethernet/amd/atarilance.c 			lp->dirty_tx = dirty_tx;
dirty_tx          249 drivers/net/ethernet/amd/lance.c 	int dirty_rx, dirty_tx;		/* The ring entries to be free()ed. */
dirty_tx          867 drivers/net/ethernet/amd/lance.c 	lp->dirty_rx = lp->dirty_tx = 0;
dirty_tx          930 drivers/net/ethernet/amd/lance.c 		  lp->dirty_tx, lp->cur_tx, netif_queue_stopped(dev) ? " (full)" : "",
dirty_tx         1011 drivers/net/ethernet/amd/lance.c 	if ((lp->cur_tx - lp->dirty_tx) >= TX_RING_SIZE)
dirty_tx         1048 drivers/net/ethernet/amd/lance.c 			int dirty_tx = lp->dirty_tx;
dirty_tx         1050 drivers/net/ethernet/amd/lance.c 			while (dirty_tx < lp->cur_tx) {
dirty_tx         1051 drivers/net/ethernet/amd/lance.c 				int entry = dirty_tx & TX_RING_MOD_MASK;
dirty_tx         1090 drivers/net/ethernet/amd/lance.c 				dirty_tx++;
dirty_tx         1094 drivers/net/ethernet/amd/lance.c 			if (lp->cur_tx - dirty_tx >= TX_RING_SIZE) {
dirty_tx         1096 drivers/net/ethernet/amd/lance.c 					   dirty_tx, lp->cur_tx,
dirty_tx         1098 drivers/net/ethernet/amd/lance.c 				dirty_tx += TX_RING_SIZE;
dirty_tx         1104 drivers/net/ethernet/amd/lance.c 			    dirty_tx > lp->cur_tx - TX_RING_SIZE + 2)
dirty_tx         1107 drivers/net/ethernet/amd/lance.c 			lp->dirty_tx = dirty_tx;
dirty_tx          285 drivers/net/ethernet/amd/pcnet32.c 				dirty_tx;
dirty_tx         1313 drivers/net/ethernet/amd/pcnet32.c 	unsigned int dirty_tx = lp->dirty_tx;
dirty_tx         1317 drivers/net/ethernet/amd/pcnet32.c 	while (dirty_tx != lp->cur_tx) {
dirty_tx         1318 drivers/net/ethernet/amd/pcnet32.c 		int entry = dirty_tx & lp->tx_mod_mask;
dirty_tx         1374 drivers/net/ethernet/amd/pcnet32.c 		dirty_tx++;
dirty_tx         1377 drivers/net/ethernet/amd/pcnet32.c 	delta = (lp->cur_tx - dirty_tx) & (lp->tx_mod_mask + lp->tx_ring_size);
dirty_tx         1380 drivers/net/ethernet/amd/pcnet32.c 			  dirty_tx, lp->cur_tx, lp->tx_full);
dirty_tx         1381 drivers/net/ethernet/amd/pcnet32.c 		dirty_tx += lp->tx_ring_size;
dirty_tx         1392 drivers/net/ethernet/amd/pcnet32.c 	lp->dirty_tx = dirty_tx;
dirty_tx         2371 drivers/net/ethernet/amd/pcnet32.c 	lp->dirty_rx = lp->dirty_tx = 0;
dirty_tx         2474 drivers/net/ethernet/amd/pcnet32.c 		       lp->dirty_tx, lp->cur_tx, lp->tx_full ? " (full)" : "",
dirty_tx          584 drivers/net/ethernet/dec/tulip/interrupt.c 			unsigned int dirty_tx;
dirty_tx          588 drivers/net/ethernet/dec/tulip/interrupt.c 			for (dirty_tx = tp->dirty_tx; tp->cur_tx - dirty_tx > 0;
dirty_tx          589 drivers/net/ethernet/dec/tulip/interrupt.c 				 dirty_tx++) {
dirty_tx          590 drivers/net/ethernet/dec/tulip/interrupt.c 				int entry = dirty_tx % TX_RING_SIZE;
dirty_tx          644 drivers/net/ethernet/dec/tulip/interrupt.c 			if (tp->cur_tx - dirty_tx > TX_RING_SIZE) {
dirty_tx          647 drivers/net/ethernet/dec/tulip/interrupt.c 					dirty_tx, tp->cur_tx);
dirty_tx          648 drivers/net/ethernet/dec/tulip/interrupt.c 				dirty_tx += TX_RING_SIZE;
dirty_tx          652 drivers/net/ethernet/dec/tulip/interrupt.c 			if (tp->cur_tx - dirty_tx < TX_RING_SIZE - 2)
dirty_tx          655 drivers/net/ethernet/dec/tulip/interrupt.c 			tp->dirty_tx = dirty_tx;
dirty_tx          423 drivers/net/ethernet/dec/tulip/tulip.h 	unsigned int dirty_rx, dirty_tx;	/* The ring entries to be free()ed. */
dirty_tx          335 drivers/net/ethernet/dec/tulip/tulip_core.c 	tp->dirty_rx = tp->dirty_tx = 0;
dirty_tx          683 drivers/net/ethernet/dec/tulip/tulip_core.c 	if (tp->cur_tx - tp->dirty_tx < TX_RING_SIZE/2) {/* Typical path */
dirty_tx          685 drivers/net/ethernet/dec/tulip/tulip_core.c 	} else if (tp->cur_tx - tp->dirty_tx == TX_RING_SIZE/2) {
dirty_tx          687 drivers/net/ethernet/dec/tulip/tulip_core.c 	} else if (tp->cur_tx - tp->dirty_tx < TX_RING_SIZE - 2) {
dirty_tx          714 drivers/net/ethernet/dec/tulip/tulip_core.c 	unsigned int dirty_tx;
dirty_tx          716 drivers/net/ethernet/dec/tulip/tulip_core.c 	for (dirty_tx = tp->dirty_tx ; tp->cur_tx - dirty_tx > 0;
dirty_tx          717 drivers/net/ethernet/dec/tulip/tulip_core.c 		dirty_tx++) {
dirty_tx          718 drivers/net/ethernet/dec/tulip/tulip_core.c 		int entry = dirty_tx % TX_RING_SIZE;
dirty_tx         1139 drivers/net/ethernet/dec/tulip/tulip_core.c 		if (tp->cur_tx - tp->dirty_tx > TX_RING_SIZE - 2) {
dirty_tx         1176 drivers/net/ethernet/dec/tulip/tulip_core.c 			if (tp->cur_tx - tp->dirty_tx >= TX_RING_SIZE - 2)
dirty_tx          314 drivers/net/ethernet/dec/tulip/winbond-840.c 	unsigned int cur_tx, dirty_tx;
dirty_tx          831 drivers/net/ethernet/dec/tulip/winbond-840.c 	np->tx_q_bytes = np->dirty_tx = np->cur_tx = 0;
dirty_tx          945 drivers/net/ethernet/dec/tulip/winbond-840.c 	       np->cur_tx, np->dirty_tx, np->tx_full, np->tx_q_bytes);
dirty_tx         1043 drivers/net/ethernet/dec/tulip/winbond-840.c 	if (np->cur_tx - np->dirty_tx > TX_QUEUE_LEN ||
dirty_tx         1061 drivers/net/ethernet/dec/tulip/winbond-840.c 	for (; np->cur_tx - np->dirty_tx > 0; np->dirty_tx++) {
dirty_tx         1062 drivers/net/ethernet/dec/tulip/winbond-840.c 		int entry = np->dirty_tx % TX_RING_SIZE;
dirty_tx         1099 drivers/net/ethernet/dec/tulip/winbond-840.c 		np->cur_tx - np->dirty_tx < TX_QUEUE_LEN_RESTART &&
dirty_tx         1140 drivers/net/ethernet/dec/tulip/winbond-840.c 			np->cur_tx != np->dirty_tx) {
dirty_tx         1487 drivers/net/ethernet/dec/tulip/winbond-840.c 			   np->cur_tx, np->dirty_tx,
dirty_tx          398 drivers/net/ethernet/dlink/sundance.c 	unsigned int cur_tx, dirty_tx;
dirty_tx         1002 drivers/net/ethernet/dlink/sundance.c 			np->dirty_tx, np->dirty_tx % TX_RING_SIZE);
dirty_tx         1016 drivers/net/ethernet/dlink/sundance.c 	if (np->cur_tx - np->dirty_tx < TX_QUEUE_LEN - 4) {
dirty_tx         1031 drivers/net/ethernet/dlink/sundance.c 	np->dirty_rx = np->dirty_tx = 0;
dirty_tx         1126 drivers/net/ethernet/dlink/sundance.c 	if (np->cur_tx - np->dirty_tx < TX_QUEUE_LEN - 1 &&
dirty_tx         1173 drivers/net/ethernet/dlink/sundance.c 	np->cur_tx = np->dirty_tx = 0;
dirty_tx         1270 drivers/net/ethernet/dlink/sundance.c 			for (; np->cur_tx - np->dirty_tx > 0; np->dirty_tx++) {
dirty_tx         1271 drivers/net/ethernet/dlink/sundance.c 				int entry = np->dirty_tx % TX_RING_SIZE;
dirty_tx         1296 drivers/net/ethernet/dlink/sundance.c 			for (; np->cur_tx - np->dirty_tx > 0; np->dirty_tx++) {
dirty_tx         1297 drivers/net/ethernet/dlink/sundance.c 				int entry = np->dirty_tx % TX_RING_SIZE;
dirty_tx         1316 drivers/net/ethernet/dlink/sundance.c 			np->cur_tx - np->dirty_tx < TX_QUEUE_LEN - 4) {
dirty_tx         1841 drivers/net/ethernet/dlink/sundance.c 	np->dirty_tx = 0;
dirty_tx         1853 drivers/net/ethernet/dlink/sundance.c 			   dev->name, np->cur_tx, np->dirty_tx, np->cur_rx, np->dirty_rx);
dirty_tx          481 drivers/net/ethernet/freescale/fec.h 	struct bufdesc	*dirty_tx;
dirty_tx          309 drivers/net/ethernet/freescale/fec_main.c 	entries = (((const char *)txq->dirty_tx -
dirty_tx          351 drivers/net/ethernet/freescale/fec_main.c 			bdp == txq->dirty_tx ? 'H' : ' ',
dirty_tx          884 drivers/net/ethernet/freescale/fec_main.c 		txq->dirty_tx = bdp;
dirty_tx         1260 drivers/net/ethernet/freescale/fec_main.c 	bdp = txq->dirty_tx;
dirty_tx         1327 drivers/net/ethernet/freescale/fec_main.c 		txq->dirty_tx = bdp;
dirty_tx          100 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	bdp = fep->dirty_tx;
dirty_tx          183 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	fep->dirty_tx = bdp;
dirty_tx          370 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	fep->dirty_tx = fep->cur_tx = fep->tx_bd_base;
dirty_tx          138 drivers/net/ethernet/freescale/fs_enet/fs_enet.h 	cbd_t __iomem *dirty_tx;	/* ring entries to be free()ed.     */
dirty_tx          553 drivers/net/ethernet/freescale/fs_enet/mac-fcc.c 	fep->dirty_tx = recheck_bd;
dirty_tx         1320 drivers/net/ethernet/freescale/gianfar.c 		tx_queue->dirty_tx = tx_queue->tx_bd_base;
dirty_tx         2203 drivers/net/ethernet/freescale/gianfar.c 	bdp = tx_queue->dirty_tx;
dirty_tx         2288 drivers/net/ethernet/freescale/gianfar.c 	tx_queue->dirty_tx = bdp;
dirty_tx          970 drivers/net/ethernet/freescale/gianfar.h 	struct	txbd8 *dirty_tx;
dirty_tx          559 drivers/net/ethernet/natsemi/natsemi.c 	unsigned int cur_tx, dirty_tx;
dirty_tx         1977 drivers/net/ethernet/natsemi/natsemi.c 	np->dirty_tx = np->cur_tx = 0;
dirty_tx         2083 drivers/net/ethernet/natsemi/natsemi.c 	np->dirty_tx = np->cur_tx = 0;
dirty_tx         2123 drivers/net/ethernet/natsemi/natsemi.c 		if (np->cur_tx - np->dirty_tx >= TX_QUEUE_LEN - 1) {
dirty_tx         2125 drivers/net/ethernet/natsemi/natsemi.c 			if (np->cur_tx - np->dirty_tx >= TX_QUEUE_LEN - 1)
dirty_tx         2147 drivers/net/ethernet/natsemi/natsemi.c 	for (; np->cur_tx - np->dirty_tx > 0; np->dirty_tx++) {
dirty_tx         2148 drivers/net/ethernet/natsemi/natsemi.c 		int entry = np->dirty_tx % TX_RING_SIZE;
dirty_tx         2154 drivers/net/ethernet/natsemi/natsemi.c 					dev->name, np->dirty_tx,
dirty_tx         2180 drivers/net/ethernet/natsemi/natsemi.c 	    np->cur_tx - np->dirty_tx < TX_QUEUE_LEN - 4) {
dirty_tx         3174 drivers/net/ethernet/natsemi/natsemi.c 			dev->name, np->cur_tx, np->dirty_tx,
dirty_tx          495 drivers/net/ethernet/packetengines/hamachi.c 	unsigned int cur_tx, dirty_tx;
dirty_tx          995 drivers/net/ethernet/packetengines/hamachi.c 	for (; hmp->cur_tx - hmp->dirty_tx > 0; hmp->dirty_tx++) {
dirty_tx          996 drivers/net/ethernet/packetengines/hamachi.c 		int entry = hmp->dirty_tx % TX_RING_SIZE;
dirty_tx         1110 drivers/net/ethernet/packetengines/hamachi.c 	hmp->dirty_rx = hmp->dirty_tx = 0;
dirty_tx         1164 drivers/net/ethernet/packetengines/hamachi.c 	hmp->dirty_rx = hmp->dirty_tx = 0;
dirty_tx         1273 drivers/net/ethernet/packetengines/hamachi.c 	if ((hmp->cur_tx - hmp->dirty_tx) < (TX_RING_SIZE - 4))
dirty_tx         1327 drivers/net/ethernet/packetengines/hamachi.c 				for (; hmp->cur_tx - hmp->dirty_tx > 0; hmp->dirty_tx++){
dirty_tx         1328 drivers/net/ethernet/packetengines/hamachi.c 					int entry = hmp->dirty_tx % TX_RING_SIZE;
dirty_tx         1349 drivers/net/ethernet/packetengines/hamachi.c 				if (hmp->cur_tx - hmp->dirty_tx < TX_RING_SIZE - 4){
dirty_tx         1659 drivers/net/ethernet/packetengines/hamachi.c 			   dev->name, hmp->cur_tx, hmp->dirty_tx, hmp->cur_rx, hmp->dirty_rx);
dirty_tx          326 drivers/net/ethernet/packetengines/yellowfin.c 	unsigned int cur_tx, dirty_tx;
dirty_tx          686 drivers/net/ethernet/packetengines/yellowfin.c 		    yp->cur_tx, yp->dirty_tx,
dirty_tx          711 drivers/net/ethernet/packetengines/yellowfin.c 	if (yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE)
dirty_tx          726 drivers/net/ethernet/packetengines/yellowfin.c 	yp->dirty_tx = 0;
dirty_tx          872 drivers/net/ethernet/packetengines/yellowfin.c 	if (yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE)
dirty_tx          916 drivers/net/ethernet/packetengines/yellowfin.c 		for (; yp->cur_tx - yp->dirty_tx > 0; yp->dirty_tx++) {
dirty_tx          917 drivers/net/ethernet/packetengines/yellowfin.c 			int entry = yp->dirty_tx % TX_RING_SIZE;
dirty_tx          932 drivers/net/ethernet/packetengines/yellowfin.c 		    yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE - 4) {
dirty_tx          939 drivers/net/ethernet/packetengines/yellowfin.c 			unsigned dirty_tx = yp->dirty_tx;
dirty_tx          941 drivers/net/ethernet/packetengines/yellowfin.c 			for (dirty_tx = yp->dirty_tx; yp->cur_tx - dirty_tx > 0;
dirty_tx          942 drivers/net/ethernet/packetengines/yellowfin.c 				 dirty_tx++) {
dirty_tx          944 drivers/net/ethernet/packetengines/yellowfin.c 				int entry = dirty_tx % TX_RING_SIZE;
dirty_tx          993 drivers/net/ethernet/packetengines/yellowfin.c 			if (yp->cur_tx - dirty_tx > TX_RING_SIZE) {
dirty_tx          995 drivers/net/ethernet/packetengines/yellowfin.c 					   dirty_tx, yp->cur_tx, yp->tx_full);
dirty_tx          996 drivers/net/ethernet/packetengines/yellowfin.c 				dirty_tx += TX_RING_SIZE;
dirty_tx         1001 drivers/net/ethernet/packetengines/yellowfin.c 			    yp->cur_tx - dirty_tx < TX_QUEUE_SIZE - 2) {
dirty_tx         1007 drivers/net/ethernet/packetengines/yellowfin.c 			yp->dirty_tx = dirty_tx;
dirty_tx         1008 drivers/net/ethernet/packetengines/yellowfin.c 			yp->tx_tail_desc = &yp->tx_status[dirty_tx % TX_RING_SIZE];
dirty_tx         1199 drivers/net/ethernet/packetengines/yellowfin.c 			      yp->cur_tx, yp->dirty_tx,
dirty_tx          594 drivers/net/ethernet/realtek/8139too.c 	unsigned long		dirty_tx;
dirty_tx         1454 drivers/net/ethernet/realtek/8139too.c 	tp->dirty_tx = 0;
dirty_tx         1649 drivers/net/ethernet/realtek/8139too.c 	tp->dirty_tx = 0;
dirty_tx         1672 drivers/net/ethernet/realtek/8139too.c 		   tp->cur_tx, tp->dirty_tx);
dirty_tx         1676 drivers/net/ethernet/realtek/8139too.c 			   i == tp->dirty_tx % NUM_TX_DESC ?
dirty_tx         1750 drivers/net/ethernet/realtek/8139too.c 	if ((tp->cur_tx - NUM_TX_DESC) == tp->dirty_tx)
dirty_tx         1765 drivers/net/ethernet/realtek/8139too.c 	unsigned long dirty_tx, tx_left;
dirty_tx         1770 drivers/net/ethernet/realtek/8139too.c 	dirty_tx = tp->dirty_tx;
dirty_tx         1771 drivers/net/ethernet/realtek/8139too.c 	tx_left = tp->cur_tx - dirty_tx;
dirty_tx         1773 drivers/net/ethernet/realtek/8139too.c 		int entry = dirty_tx % NUM_TX_DESC;
dirty_tx         1811 drivers/net/ethernet/realtek/8139too.c 		dirty_tx++;
dirty_tx         1816 drivers/net/ethernet/realtek/8139too.c 	if (tp->cur_tx - dirty_tx > NUM_TX_DESC) {
dirty_tx         1818 drivers/net/ethernet/realtek/8139too.c 			   dirty_tx, tp->cur_tx);
dirty_tx         1819 drivers/net/ethernet/realtek/8139too.c 		dirty_tx += NUM_TX_DESC;
dirty_tx         1824 drivers/net/ethernet/realtek/8139too.c 	if (tp->dirty_tx != dirty_tx) {
dirty_tx         1825 drivers/net/ethernet/realtek/8139too.c 		tp->dirty_tx = dirty_tx;
dirty_tx          657 drivers/net/ethernet/realtek/r8169_main.c 	u32 dirty_tx;
dirty_tx         4049 drivers/net/ethernet/realtek/r8169_main.c 	tp->dirty_tx = tp->cur_tx = tp->cur_rx = 0;
dirty_tx         5652 drivers/net/ethernet/realtek/r8169_main.c 	rtl8169_tx_clear_range(tp, tp->dirty_tx, NUM_TX_DESC);
dirty_tx         5653 drivers/net/ethernet/realtek/r8169_main.c 	tp->cur_tx = tp->dirty_tx = 0;
dirty_tx         5854 drivers/net/ethernet/realtek/r8169_main.c 	unsigned int slots_avail = tp->dirty_tx + NUM_TX_DESC - tp->cur_tx;
dirty_tx         6060 drivers/net/ethernet/realtek/r8169_main.c 	unsigned int dirty_tx, tx_left, bytes_compl = 0, pkts_compl = 0;
dirty_tx         6062 drivers/net/ethernet/realtek/r8169_main.c 	dirty_tx = tp->dirty_tx;
dirty_tx         6064 drivers/net/ethernet/realtek/r8169_main.c 	tx_left = tp->cur_tx - dirty_tx;
dirty_tx         6067 drivers/net/ethernet/realtek/r8169_main.c 		unsigned int entry = dirty_tx % NUM_TX_DESC;
dirty_tx         6089 drivers/net/ethernet/realtek/r8169_main.c 		dirty_tx++;
dirty_tx         6093 drivers/net/ethernet/realtek/r8169_main.c 	if (tp->dirty_tx != dirty_tx) {
dirty_tx         6101 drivers/net/ethernet/realtek/r8169_main.c 		tp->dirty_tx = dirty_tx;
dirty_tx         6120 drivers/net/ethernet/realtek/r8169_main.c 		if (tp->cur_tx != dirty_tx)
dirty_tx         1022 drivers/net/ethernet/renesas/ravb.h 	u32 dirty_tx[NUM_TX_QUEUE];
dirty_tx          184 drivers/net/ethernet/renesas/ravb_main.c 	for (; priv->cur_tx[q] - priv->dirty_tx[q] > 0; priv->dirty_tx[q]++) {
dirty_tx          187 drivers/net/ethernet/renesas/ravb_main.c 		entry = priv->dirty_tx[q] % (priv->num_tx_ring[q] *
dirty_tx          289 drivers/net/ethernet/renesas/ravb_main.c 	priv->dirty_tx[q] = 0;
dirty_tx         1168 drivers/net/ethernet/renesas/ravb_main.c 		data[i++] = priv->dirty_tx[q];
dirty_tx         1486 drivers/net/ethernet/renesas/ravb_main.c 	if (priv->cur_tx[q] - priv->dirty_tx[q] > (priv->num_tx_ring[q] - 1) *
dirty_tx         1585 drivers/net/ethernet/renesas/ravb_main.c 	if (priv->cur_tx[q] - priv->dirty_tx[q] >
dirty_tx         1274 drivers/net/ethernet/renesas/sh_eth.c 	for (; mdp->cur_tx - mdp->dirty_tx > 0; mdp->dirty_tx++) {
dirty_tx         1275 drivers/net/ethernet/renesas/sh_eth.c 		entry = mdp->dirty_tx % mdp->num_tx_ring;
dirty_tx         1369 drivers/net/ethernet/renesas/sh_eth.c 	mdp->dirty_tx = 0;
dirty_tx         1860 drivers/net/ethernet/renesas/sh_eth.c 			   intr_status, mdp->cur_tx, mdp->dirty_tx,
dirty_tx         2311 drivers/net/ethernet/renesas/sh_eth.c 	data[i++] = mdp->dirty_tx;
dirty_tx         2529 drivers/net/ethernet/renesas/sh_eth.c 	if ((mdp->cur_tx - mdp->dirty_tx) >= (mdp->num_tx_ring - 4)) {
dirty_tx          530 drivers/net/ethernet/renesas/sh_eth.h 	u32 cur_tx, dirty_tx;
dirty_tx          385 drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h 	unsigned int dirty_tx;
dirty_tx          194 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 	return queue->dirty_tx + tx_qsize - queue->cur_tx - 1;
dirty_tx          422 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 	tx_ring->dirty_tx = 0;
dirty_tx          742 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 	while (tqueue->dirty_tx != tqueue->cur_tx) {
dirty_tx          743 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 		unsigned int entry = tqueue->dirty_tx % tx_rsize;
dirty_tx          755 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 				 __func__, tqueue->cur_tx, tqueue->dirty_tx);
dirty_tx          772 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 		tqueue->dirty_tx++;
dirty_tx          830 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 	tx_ring->dirty_tx = 0;
dirty_tx         1398 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 		  tqueue->dirty_tx % tx_rsize, entry,
dirty_tx          274 drivers/net/ethernet/sis/sis190.c 	u32 dirty_tx;
dirty_tx          687 drivers/net/ethernet/sis/sis190.c 	u32 pending, dirty_tx = tp->dirty_tx;
dirty_tx          695 drivers/net/ethernet/sis/sis190.c 	pending = tp->cur_tx - dirty_tx;
dirty_tx          698 drivers/net/ethernet/sis/sis190.c 	for (; pending; pending--, dirty_tx++) {
dirty_tx          699 drivers/net/ethernet/sis/sis190.c 		unsigned int entry = dirty_tx % NUM_TX_DESC;
dirty_tx          720 drivers/net/ethernet/sis/sis190.c 	if (tp->dirty_tx != dirty_tx) {
dirty_tx          721 drivers/net/ethernet/sis/sis190.c 		tp->dirty_tx = dirty_tx;
dirty_tx          808 drivers/net/ethernet/sis/sis190.c 	tp->dirty_tx = tp->dirty_rx = tp->cur_tx = tp->cur_rx = 0;
dirty_tx         1120 drivers/net/ethernet/sis/sis190.c 	tp->cur_tx = tp->dirty_tx = 0;
dirty_tx         1176 drivers/net/ethernet/sis/sis190.c 	u32 len, entry, dirty_tx;
dirty_tx         1232 drivers/net/ethernet/sis/sis190.c 	dirty_tx = tp->dirty_tx;
dirty_tx         1233 drivers/net/ethernet/sis/sis190.c 	if ((tp->cur_tx - NUM_TX_DESC) == dirty_tx) {
dirty_tx         1236 drivers/net/ethernet/sis/sis190.c 		if (dirty_tx != tp->dirty_tx)
dirty_tx          180 drivers/net/ethernet/sis/sis900.c 	unsigned int cur_tx, dirty_tx;
dirty_tx         1132 drivers/net/ethernet/sis/sis900.c 	sis_priv->dirty_tx = sis_priv->cur_tx = 0;
dirty_tx         1559 drivers/net/ethernet/sis/sis900.c 	sis_priv->dirty_tx = sis_priv->cur_tx = 0;
dirty_tx         1630 drivers/net/ethernet/sis/sis900.c 	index_dirty_tx = sis_priv->dirty_tx;
dirty_tx         1893 drivers/net/ethernet/sis/sis900.c 	for (; sis_priv->dirty_tx != sis_priv->cur_tx; sis_priv->dirty_tx++) {
dirty_tx         1898 drivers/net/ethernet/sis/sis900.c 		entry = sis_priv->dirty_tx % NUM_TX_DESC;
dirty_tx         1941 drivers/net/ethernet/sis/sis900.c 	    sis_priv->cur_tx - sis_priv->dirty_tx < NUM_TX_DESC - 4) {
dirty_tx          267 drivers/net/ethernet/smsc/epic100.c 	unsigned int cur_tx, dirty_tx;
dirty_tx          783 drivers/net/ethernet/smsc/epic100.c 		   ep->cur_rx, ep->dirty_rx, ep->dirty_tx, ep->cur_tx);
dirty_tx          808 drivers/net/ethernet/smsc/epic100.c 	     (ep->dirty_tx % TX_RING_SIZE) * sizeof(struct epic_tx_desc));
dirty_tx          874 drivers/net/ethernet/smsc/epic100.c 				   ep->dirty_tx, ep->cur_tx);
dirty_tx          898 drivers/net/ethernet/smsc/epic100.c 	ep->dirty_tx = ep->cur_tx = 0;
dirty_tx          953 drivers/net/ethernet/smsc/epic100.c 	free_count = ep->cur_tx - ep->dirty_tx;
dirty_tx         1014 drivers/net/ethernet/smsc/epic100.c 	unsigned int dirty_tx, cur_tx;
dirty_tx         1021 drivers/net/ethernet/smsc/epic100.c 	for (dirty_tx = ep->dirty_tx; cur_tx - dirty_tx > 0; dirty_tx++) {
dirty_tx         1023 drivers/net/ethernet/smsc/epic100.c 		int entry = dirty_tx % TX_RING_SIZE;
dirty_tx         1045 drivers/net/ethernet/smsc/epic100.c 	if (cur_tx - dirty_tx > TX_RING_SIZE) {
dirty_tx         1047 drivers/net/ethernet/smsc/epic100.c 			    dirty_tx, cur_tx, ep->tx_full);
dirty_tx         1048 drivers/net/ethernet/smsc/epic100.c 		dirty_tx += TX_RING_SIZE;
dirty_tx         1051 drivers/net/ethernet/smsc/epic100.c 	ep->dirty_tx = dirty_tx;
dirty_tx         1052 drivers/net/ethernet/smsc/epic100.c 	if (ep->tx_full && cur_tx - dirty_tx < TX_QUEUE_LEN - 4) {
dirty_tx          148 drivers/net/ethernet/stmicro/stmmac/chain_mode.c 	unsigned int entry = tx_q->dirty_tx;
dirty_tx          157 drivers/net/ethernet/stmicro/stmmac/chain_mode.c 				      ((tx_q->dirty_tx + 1) % DMA_TX_SIZE))
dirty_tx          124 drivers/net/ethernet/stmicro/stmmac/ring_mode.c 	unsigned int entry = tx_q->dirty_tx;
dirty_tx           53 drivers/net/ethernet/stmicro/stmmac/stmmac.h 	unsigned int dirty_tx;
dirty_tx          296 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	if (tx_q->dirty_tx > tx_q->cur_tx)
dirty_tx          297 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 		avail = tx_q->dirty_tx - tx_q->cur_tx - 1;
dirty_tx          299 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 		avail = DMA_TX_SIZE - tx_q->cur_tx + tx_q->dirty_tx - 1;
dirty_tx          337 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 		if (tx_q->dirty_tx != tx_q->cur_tx)
dirty_tx         1407 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 		tx_q->dirty_tx = 0;
dirty_tx         1880 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	entry = tx_q->dirty_tx;
dirty_tx         1948 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	tx_q->dirty_tx = entry;
dirty_tx         1968 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	if (tx_q->dirty_tx != tx_q->cur_tx)
dirty_tx         1999 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	tx_q->dirty_tx = 0;
dirty_tx         3095 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 			__func__, tx_q->cur_tx, tx_q->dirty_tx, first_entry,
dirty_tx         3263 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 			   __func__, tx_q->cur_tx, tx_q->dirty_tx, first_entry,
dirty_tx         3700 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	if (tx_q->cur_tx != tx_q->dirty_tx) {
dirty_tx         4830 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 		tx_q->dirty_tx = 0;
dirty_tx          475 drivers/net/ethernet/via/via-rhine.c 	unsigned int cur_tx, dirty_tx;
dirty_tx         1321 drivers/net/ethernet/via/via-rhine.c 	rp->dirty_tx = rp->cur_tx = 0;
dirty_tx         1778 drivers/net/ethernet/via/via-rhine.c 	return (rp->cur_tx - rp->dirty_tx) >= TX_QUEUE_LEN;
dirty_tx         1929 drivers/net/ethernet/via/via-rhine.c 	unsigned int dirty_tx = rp->dirty_tx;
dirty_tx         1942 drivers/net/ethernet/via/via-rhine.c 	while (dirty_tx != cur_tx) {
dirty_tx         1943 drivers/net/ethernet/via/via-rhine.c 		unsigned int entry = dirty_tx % TX_RING_SIZE;
dirty_tx         1994 drivers/net/ethernet/via/via-rhine.c 		dirty_tx++;
dirty_tx         1997 drivers/net/ethernet/via/via-rhine.c 	rp->dirty_tx = dirty_tx;
dirty_tx         2158 drivers/net/ethernet/via/via-rhine.c 	int entry = rp->dirty_tx % TX_RING_SIZE;
dirty_tx          615 drivers/net/hippi/rrunner.c 	rrpriv->dirty_rx = rrpriv->dirty_tx = 0;
dirty_tx         1055 drivers/net/hippi/rrunner.c 	txcon = rrpriv->dirty_tx;
dirty_tx         1085 drivers/net/hippi/rrunner.c 		rrpriv->dirty_tx = txcon;
dirty_tx         1088 drivers/net/hippi/rrunner.c 		     != rrpriv->dirty_tx)){
dirty_tx         1277 drivers/net/hippi/rrunner.c 	cons = rrpriv->dirty_tx;
dirty_tx         1441 drivers/net/hippi/rrunner.c 	if (txctrl->pi == rrpriv->dirty_tx){
dirty_tx          819 drivers/net/hippi/rrunner.h 	u32			dirty_rx, dirty_tx;
dirty_tx          219 drivers/net/wan/fsl_ucc_hdlc.c 	priv->dirty_tx = priv->tx_bd_base;
dirty_tx          423 drivers/net/wan/fsl_ucc_hdlc.c 	if (bd == priv->dirty_tx) {
dirty_tx          457 drivers/net/wan/fsl_ucc_hdlc.c 	bd = priv->dirty_tx;
dirty_tx          504 drivers/net/wan/fsl_ucc_hdlc.c 	priv->dirty_tx = bd;
dirty_tx           90 drivers/net/wan/fsl_ucc_hdlc.h 	struct qe_bd *dirty_tx;
dirty_tx          306 drivers/net/wireless/admtek/adm8211.c 	unsigned int dirty_tx;
dirty_tx          310 drivers/net/wireless/admtek/adm8211.c 	for (dirty_tx = priv->dirty_tx; priv->cur_tx - dirty_tx; dirty_tx++) {
dirty_tx          311 drivers/net/wireless/admtek/adm8211.c 		unsigned int entry = dirty_tx % priv->tx_ring_size;
dirty_tx          343 drivers/net/wireless/admtek/adm8211.c 	if (priv->cur_tx - dirty_tx < priv->tx_ring_size - 2)
dirty_tx          346 drivers/net/wireless/admtek/adm8211.c 	priv->dirty_tx = dirty_tx;
dirty_tx         1477 drivers/net/wireless/admtek/adm8211.c 	priv->cur_rx = priv->cur_tx = priv->dirty_tx = 0;
dirty_tx         1642 drivers/net/wireless/admtek/adm8211.c 	if (priv->cur_tx - priv->dirty_tx == priv->tx_ring_size / 2)
dirty_tx         1647 drivers/net/wireless/admtek/adm8211.c 	if (priv->cur_tx - priv->dirty_tx == priv->tx_ring_size - 2)
dirty_tx          548 drivers/net/wireless/admtek/adm8211.h 	unsigned int cur_tx, dirty_tx, cur_rx;