/linux-6.1.9/drivers/net/ethernet/amd/ ! |
D | ariadne.c | 93 int dirty_tx; /* The ring entries to be free()ed */ member 126 priv->dirty_tx = 0; in ariadne_init_ring() 305 int dirty_tx = priv->dirty_tx; in ariadne_interrupt() local 308 while (dirty_tx < priv->cur_tx) { in ariadne_interrupt() 309 int entry = dirty_tx % TX_RING_SIZE; in ariadne_interrupt() 341 dirty_tx++; in ariadne_interrupt() 345 if (priv->cur_tx - dirty_tx >= TX_RING_SIZE) { in ariadne_interrupt() 347 dirty_tx, priv->cur_tx, in ariadne_interrupt() 349 dirty_tx += TX_RING_SIZE; in ariadne_interrupt() 354 dirty_tx > priv->cur_tx - TX_RING_SIZE + 2) { in ariadne_interrupt() [all …]
|
D | atarilance.c | 223 int dirty_tx; /* Ring entries to be freed. */ member 689 lp->dirty_tx = 0; in lance_init_ring() 747 lp->dirty_tx, lp->cur_tx, in lance_tx_timeout() 829 while( lp->cur_tx >= TX_RING_SIZE && lp->dirty_tx >= TX_RING_SIZE ) { in lance_start_xmit() 831 lp->dirty_tx -= TX_RING_SIZE; in lance_start_xmit() 882 int dirty_tx = lp->dirty_tx; in lance_interrupt() local 884 while( dirty_tx < lp->cur_tx) { in lance_interrupt() 885 int entry = dirty_tx & TX_RING_MOD_MASK; in lance_interrupt() 916 dirty_tx++; in lance_interrupt() 920 if (lp->cur_tx - dirty_tx >= TX_RING_SIZE) { in lance_interrupt() [all …]
|
D | lance.c | 249 int dirty_rx, dirty_tx; /* The ring entries to be free()ed. */ member 871 lp->dirty_rx = lp->dirty_tx = 0; in lance_init_ring() 934 lp->dirty_tx, lp->cur_tx, netif_queue_stopped(dev) ? " (full)" : "", in lance_tx_timeout() 1015 if ((lp->cur_tx - lp->dirty_tx) >= TX_RING_SIZE) in lance_start_xmit() 1052 int dirty_tx = lp->dirty_tx; in lance_interrupt() local 1054 while (dirty_tx < lp->cur_tx) { in lance_interrupt() 1055 int entry = dirty_tx & TX_RING_MOD_MASK; in lance_interrupt() 1094 dirty_tx++; in lance_interrupt() 1098 if (lp->cur_tx - dirty_tx >= TX_RING_SIZE) { in lance_interrupt() 1100 dirty_tx, lp->cur_tx, in lance_interrupt() [all …]
|
D | pcnet32.c | 281 dirty_tx; member 1303 unsigned int dirty_tx = lp->dirty_tx; in pcnet32_tx() local 1307 while (dirty_tx != lp->cur_tx) { in pcnet32_tx() 1308 int entry = dirty_tx & lp->tx_mod_mask; in pcnet32_tx() 1364 dirty_tx++; in pcnet32_tx() 1367 delta = (lp->cur_tx - dirty_tx) & (lp->tx_mod_mask + lp->tx_ring_size); in pcnet32_tx() 1370 dirty_tx, lp->cur_tx, lp->tx_full); in pcnet32_tx() 1371 dirty_tx += lp->tx_ring_size; in pcnet32_tx() 1382 lp->dirty_tx = dirty_tx; in pcnet32_tx() 2364 lp->dirty_rx = lp->dirty_tx = 0; in pcnet32_init_ring() [all …]
|
/linux-6.1.9/drivers/net/ethernet/packetengines/ ! |
D | yellowfin.c | 326 unsigned int cur_tx, dirty_tx; member 693 yp->cur_tx, yp->dirty_tx, in yellowfin_tx_timeout() 718 if (yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE) in yellowfin_tx_timeout() 733 yp->dirty_tx = 0; in yellowfin_init_ring() 883 if (yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE) in yellowfin_start_xmit() 927 for (; yp->cur_tx - yp->dirty_tx > 0; yp->dirty_tx++) { in yellowfin_interrupt() 928 int entry = yp->dirty_tx % TX_RING_SIZE; in yellowfin_interrupt() 944 yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE - 4) { in yellowfin_interrupt() 951 unsigned dirty_tx = yp->dirty_tx; in yellowfin_interrupt() local 953 for (dirty_tx = yp->dirty_tx; yp->cur_tx - dirty_tx > 0; in yellowfin_interrupt() [all …]
|
D | hamachi.c | 495 unsigned int cur_tx, dirty_tx; member 1001 for (; hmp->cur_tx - hmp->dirty_tx > 0; hmp->dirty_tx++) { in hamachi_tx() 1002 int entry = hmp->dirty_tx % TX_RING_SIZE; in hamachi_tx() 1117 hmp->dirty_rx = hmp->dirty_tx = 0; in hamachi_tx_timeout() 1173 hmp->dirty_rx = hmp->dirty_tx = 0; in hamachi_init_ring() 1286 if ((hmp->cur_tx - hmp->dirty_tx) < (TX_RING_SIZE - 4)) in hamachi_start_xmit() 1340 for (; hmp->cur_tx - hmp->dirty_tx > 0; hmp->dirty_tx++){ in hamachi_interrupt() 1341 int entry = hmp->dirty_tx % TX_RING_SIZE; in hamachi_interrupt() 1362 if (hmp->cur_tx - hmp->dirty_tx < TX_RING_SIZE - 4){ in hamachi_interrupt() 1674 dev->name, hmp->cur_tx, hmp->dirty_tx, hmp->cur_rx, hmp->dirty_rx); in hamachi_close()
|
/linux-6.1.9/drivers/net/ethernet/dec/tulip/ ! |
D | interrupt.c | 591 unsigned int dirty_tx; in tulip_interrupt() local 595 for (dirty_tx = tp->dirty_tx; tp->cur_tx - dirty_tx > 0; in tulip_interrupt() 596 dirty_tx++) { in tulip_interrupt() 597 int entry = dirty_tx % TX_RING_SIZE; in tulip_interrupt() 652 if (tp->cur_tx - dirty_tx > TX_RING_SIZE) { in tulip_interrupt() 655 dirty_tx, tp->cur_tx); in tulip_interrupt() 656 dirty_tx += TX_RING_SIZE; in tulip_interrupt() 660 if (tp->cur_tx - dirty_tx < TX_RING_SIZE - 2) in tulip_interrupt() 663 tp->dirty_tx = dirty_tx; in tulip_interrupt()
|
D | tulip_core.c | 324 tp->dirty_rx = tp->dirty_tx = 0; in tulip_up() 672 if (tp->cur_tx - tp->dirty_tx < TX_RING_SIZE/2) {/* Typical path */ in tulip_start_xmit() 674 } else if (tp->cur_tx - tp->dirty_tx == TX_RING_SIZE/2) { in tulip_start_xmit() 676 } else if (tp->cur_tx - tp->dirty_tx < TX_RING_SIZE - 2) { in tulip_start_xmit() 703 unsigned int dirty_tx; in tulip_clean_tx_ring() local 705 for (dirty_tx = tp->dirty_tx ; tp->cur_tx - dirty_tx > 0; in tulip_clean_tx_ring() 706 dirty_tx++) { in tulip_clean_tx_ring() 707 int entry = dirty_tx % TX_RING_SIZE; in tulip_clean_tx_ring() 1129 if (tp->cur_tx - tp->dirty_tx > TX_RING_SIZE - 2) { in set_rx_mode() 1167 if (tp->cur_tx - tp->dirty_tx >= TX_RING_SIZE - 2) in set_rx_mode()
|
D | winbond-840.c | 304 unsigned int cur_tx, dirty_tx; member 821 np->tx_q_bytes = np->dirty_tx = np->cur_tx = 0; in init_rxtx_rings() 932 np->cur_tx, np->dirty_tx, np->tx_full, np->tx_q_bytes); in tx_timeout() 1030 if (np->cur_tx - np->dirty_tx > TX_QUEUE_LEN || in start_tx() 1048 for (; np->cur_tx - np->dirty_tx > 0; np->dirty_tx++) { in netdev_tx_done() 1049 int entry = np->dirty_tx % TX_RING_SIZE; in netdev_tx_done() 1085 np->cur_tx - np->dirty_tx < TX_QUEUE_LEN_RESTART && in netdev_tx_done() 1126 np->cur_tx != np->dirty_tx) { in intr_handler() 1476 np->cur_tx, np->dirty_tx, in netdev_close()
|
/linux-6.1.9/drivers/net/ethernet/smsc/ ! |
D | epic100.c | 267 unsigned int cur_tx, dirty_tx; member 790 ep->cur_rx, ep->dirty_rx, ep->dirty_tx, ep->cur_tx); in epic_restart() 815 (ep->dirty_tx % TX_RING_SIZE) * sizeof(struct epic_tx_desc)); in epic_restart() 881 ep->dirty_tx, ep->cur_tx); in epic_tx_timeout() 905 ep->dirty_tx = ep->cur_tx = 0; in epic_init_ring() 962 free_count = ep->cur_tx - ep->dirty_tx; in epic_start_xmit() 1024 unsigned int dirty_tx, cur_tx; in epic_tx() local 1031 for (dirty_tx = ep->dirty_tx; cur_tx - dirty_tx > 0; dirty_tx++) { in epic_tx() 1033 int entry = dirty_tx % TX_RING_SIZE; in epic_tx() 1056 if (cur_tx - dirty_tx > TX_RING_SIZE) { in epic_tx() [all …]
|
/linux-6.1.9/drivers/net/ethernet/sis/ ! |
D | sis190.c | 274 u32 dirty_tx; member 690 u32 pending, dirty_tx = tp->dirty_tx; in sis190_tx_interrupt() local 698 pending = tp->cur_tx - dirty_tx; in sis190_tx_interrupt() 701 for (; pending; pending--, dirty_tx++) { in sis190_tx_interrupt() 702 unsigned int entry = dirty_tx % NUM_TX_DESC; in sis190_tx_interrupt() 723 if (tp->dirty_tx != dirty_tx) { in sis190_tx_interrupt() 724 tp->dirty_tx = dirty_tx; in sis190_tx_interrupt() 811 tp->dirty_tx = tp->dirty_rx = tp->cur_tx = tp->cur_rx = 0; in sis190_init_ring_indexes() 1127 tp->cur_tx = tp->dirty_tx = 0; in sis190_tx_clear() 1185 u32 len, entry, dirty_tx; in sis190_start_xmit() local [all …]
|
D | sis900.c | 180 unsigned int cur_tx, dirty_tx; member 1138 sis_priv->dirty_tx = sis_priv->cur_tx = 0; in sis900_init_tx_ring() 1568 sis_priv->dirty_tx = sis_priv->cur_tx = 0; in sis900_tx_timeout() 1640 index_dirty_tx = sis_priv->dirty_tx; in sis900_start_xmit() 1905 for (; sis_priv->dirty_tx != sis_priv->cur_tx; sis_priv->dirty_tx++) { in sis900_finish_xmit() 1910 entry = sis_priv->dirty_tx % NUM_TX_DESC; in sis900_finish_xmit() 1953 sis_priv->cur_tx - sis_priv->dirty_tx < NUM_TX_DESC - 4) { in sis900_finish_xmit()
|
/linux-6.1.9/drivers/net/ethernet/3com/ ! |
D | 3c515.c | 305 unsigned int dirty_rx, dirty_tx;/* The ring entries to be free()ed. */ member 830 vp->cur_tx = vp->dirty_tx = 0; in corkscrew_open() 967 vp->full_bus_master_tx, vp->tx_full, vp->dirty_tx, in corkscrew_timeout() 1039 if (vp->cur_tx - vp->dirty_tx > TX_RING_SIZE - 1) in corkscrew_start_xmit() 1161 unsigned int dirty_tx = lp->dirty_tx; in corkscrew_interrupt() local 1163 while (lp->cur_tx - dirty_tx > 0) { in corkscrew_interrupt() 1164 int entry = dirty_tx % TX_RING_SIZE; in corkscrew_interrupt() 1171 dirty_tx++; in corkscrew_interrupt() 1173 lp->dirty_tx = dirty_tx; in corkscrew_interrupt() 1175 if (lp->tx_full && (lp->cur_tx - dirty_tx <= TX_RING_SIZE - 1)) { in corkscrew_interrupt()
|
D | 3c59x.c | 605 unsigned int dirty_tx; /* The ring entries to be free()ed. */ member 1679 vp->cur_tx = vp->dirty_tx = 0; in vortex_up() 1914 if (vp->cur_tx - vp->dirty_tx > 0 && ioread32(ioaddr + DownListPtr) == 0) in vortex_tx_timeout() 1915 iowrite32(vp->tx_ring_dma + (vp->dirty_tx % TX_RING_SIZE) * sizeof(struct boom_tx_desc), in vortex_tx_timeout() 1917 if (vp->cur_tx - vp->dirty_tx < TX_RING_SIZE) { in vortex_tx_timeout() 2137 if (vp->cur_tx - vp->dirty_tx >= TX_RING_SIZE) { in boomerang_start_xmit() 2225 if (vp->cur_tx - vp->dirty_tx > TX_RING_SIZE - 1) { in boomerang_start_xmit() 2418 unsigned int dirty_tx = vp->dirty_tx; in _boomerang_interrupt() local 2421 while (vp->cur_tx - dirty_tx > 0) { in _boomerang_interrupt() 2422 int entry = dirty_tx % TX_RING_SIZE; in _boomerang_interrupt() [all …]
|
/linux-6.1.9/drivers/net/ethernet/realtek/ ! |
D | 8139too.c | 594 unsigned long dirty_tx; member 1455 tp->dirty_tx = 0; in rtl8139_init_ring() 1650 tp->dirty_tx = 0; in rtl8139_tx_clear() 1673 tp->cur_tx, tp->dirty_tx); in rtl8139_tx_timeout_task() 1677 i == tp->dirty_tx % NUM_TX_DESC ? in rtl8139_tx_timeout_task() 1751 if ((tp->cur_tx - NUM_TX_DESC) == tp->dirty_tx) in rtl8139_start_xmit() 1766 unsigned long dirty_tx, tx_left; in rtl8139_tx_interrupt() local 1771 dirty_tx = tp->dirty_tx; in rtl8139_tx_interrupt() 1772 tx_left = tp->cur_tx - dirty_tx; in rtl8139_tx_interrupt() 1774 int entry = dirty_tx % NUM_TX_DESC; in rtl8139_tx_interrupt() [all …]
|
/linux-6.1.9/drivers/net/ethernet/dlink/ ! |
D | sundance.c | 391 unsigned int cur_tx, dirty_tx; member 991 np->dirty_tx, np->dirty_tx % TX_RING_SIZE); in tx_timeout() 1005 if (np->cur_tx - np->dirty_tx < TX_QUEUE_LEN - 4) { in tx_timeout() 1020 np->dirty_rx = np->dirty_tx = 0; in init_ring() 1114 if (np->cur_tx - np->dirty_tx < TX_QUEUE_LEN - 1 && in start_tx() 1161 np->cur_tx = np->dirty_tx = 0; in reset_tx() 1258 for (; np->cur_tx - np->dirty_tx > 0; np->dirty_tx++) { in intr_handler() 1259 int entry = np->dirty_tx % TX_RING_SIZE; in intr_handler() 1284 for (; np->cur_tx - np->dirty_tx > 0; np->dirty_tx++) { in intr_handler() 1285 int entry = np->dirty_tx % TX_RING_SIZE; in intr_handler() [all …]
|
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/ ! |
D | chain_mode.c | 148 unsigned int entry = tx_q->dirty_tx; in clean_desc3() 157 ((tx_q->dirty_tx + 1) % in clean_desc3()
|
D | ring_mode.c | 124 unsigned int entry = tx_q->dirty_tx; in clean_desc3()
|
/linux-6.1.9/drivers/net/wireless/admtek/ ! |
D | adm8211.c | 305 unsigned int dirty_tx; in adm8211_interrupt_tci() local 309 for (dirty_tx = priv->dirty_tx; priv->cur_tx - dirty_tx; dirty_tx++) { in adm8211_interrupt_tci() 310 unsigned int entry = dirty_tx % priv->tx_ring_size; in adm8211_interrupt_tci() 342 if (priv->cur_tx - dirty_tx < priv->tx_ring_size - 2) in adm8211_interrupt_tci() 345 priv->dirty_tx = dirty_tx; in adm8211_interrupt_tci() 1475 priv->cur_rx = priv->cur_tx = priv->dirty_tx = 0; in adm8211_init_rings() 1638 if (priv->cur_tx - priv->dirty_tx == priv->tx_ring_size / 2) in adm8211_tx_raw() 1643 if (priv->cur_tx - priv->dirty_tx == priv->tx_ring_size - 2) in adm8211_tx_raw()
|
/linux-6.1.9/drivers/net/ethernet/adaptec/ ! |
D | starfire.c | 552 unsigned int cur_tx, dirty_tx, reap_tx; member 1133 np->dirty_rx = np->dirty_tx = np->rx_done = np->tx_done = 0; in init_ring() 1190 if ((np->cur_tx - np->dirty_tx) + skb_num_frags(skb) * 2 > TX_RING_SIZE) { in start_tx() 1247 dev->name, np->cur_tx, np->dirty_tx, in start_tx() 1272 if ((np->cur_tx - np->dirty_tx) + 4 > TX_RING_SIZE) in start_tx() 1357 dev->name, np->dirty_tx, np->tx_done, tx_status); in intr_handler() 1369 np->dirty_tx += np->tx_info[entry].used_slots; in intr_handler() 1378 np->dirty_tx++; in intr_handler() 1391 (np->cur_tx - np->dirty_tx + 4 < TX_RING_SIZE)) { in intr_handler() 1939 dev->name, np->cur_tx, np->dirty_tx, in netdev_close()
|
/linux-6.1.9/drivers/net/ethernet/via/ ! |
D | via-rhine.c | 469 unsigned int cur_tx, dirty_tx; member 1307 rp->dirty_tx = rp->cur_tx = 0; in alloc_tbufs() 1766 return (rp->cur_tx - rp->dirty_tx) >= TX_QUEUE_LEN; in rhine_tx_queue_full() 1917 unsigned int dirty_tx = rp->dirty_tx; in rhine_tx() local 1930 while (dirty_tx != cur_tx) { in rhine_tx() 1931 unsigned int entry = dirty_tx % TX_RING_SIZE; in rhine_tx() 1982 dirty_tx++; in rhine_tx() 1985 rp->dirty_tx = dirty_tx; in rhine_tx() 2146 int entry = rp->dirty_tx % TX_RING_SIZE; in rhine_restart_tx()
|
/linux-6.1.9/drivers/net/wan/ ! |
D | fsl_ucc_hdlc.h | 90 struct qe_bd *dirty_tx; member
|
/linux-6.1.9/drivers/net/ethernet/samsung/sxgbe/ ! |
D | sxgbe_main.c | 194 return queue->dirty_tx + tx_qsize - queue->cur_tx - 1; in sxgbe_tx_avail() 426 tx_ring->dirty_tx = 0; in init_tx_ring() 747 while (tqueue->dirty_tx != tqueue->cur_tx) { in sxgbe_tx_queue_clean() 748 unsigned int entry = tqueue->dirty_tx % tx_rsize; in sxgbe_tx_queue_clean() 760 __func__, tqueue->cur_tx, tqueue->dirty_tx); in sxgbe_tx_queue_clean() 777 tqueue->dirty_tx++; in sxgbe_tx_queue_clean() 836 tx_ring->dirty_tx = 0; in sxgbe_restart_tx_queue() 1407 tqueue->dirty_tx % tx_rsize, entry, in sxgbe_xmit()
|
/linux-6.1.9/drivers/net/ethernet/natsemi/ ! |
D | natsemi.c | 559 unsigned int cur_tx, dirty_tx; member 1974 np->dirty_tx = np->cur_tx = 0; in init_ring() 2079 np->dirty_tx = np->cur_tx = 0; in reinit_ring() 2119 if (np->cur_tx - np->dirty_tx >= TX_QUEUE_LEN - 1) { in start_tx() 2121 if (np->cur_tx - np->dirty_tx >= TX_QUEUE_LEN - 1) in start_tx() 2143 for (; np->cur_tx - np->dirty_tx > 0; np->dirty_tx++) { in netdev_tx_done() 2144 int entry = np->dirty_tx % TX_RING_SIZE; in netdev_tx_done() 2150 dev->name, np->dirty_tx, in netdev_tx_done() 2175 np->cur_tx - np->dirty_tx < TX_QUEUE_LEN - 4) { in netdev_tx_done() 3170 dev->name, np->cur_tx, np->dirty_tx, in netdev_close()
|
/linux-6.1.9/drivers/net/hippi/ ! |
D | rrunner.c | 621 rrpriv->dirty_rx = rrpriv->dirty_tx = 0; in rr_init1() 1062 txcon = rrpriv->dirty_tx; in rr_interrupt() 1092 rrpriv->dirty_tx = txcon; in rr_interrupt() 1095 != rrpriv->dirty_tx)){ in rr_interrupt() 1287 cons = rrpriv->dirty_tx; in rr_dump() 1453 if (txctrl->pi == rrpriv->dirty_tx){ in rr_start_xmit()
|