/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/ |
D | interrupt.c | 66 for (; tp->cur_rx - tp->dirty_rx > 0; tp->dirty_rx++) { in tulip_refill_rx() 67 entry = tp->dirty_rx % RX_RING_SIZE; in tulip_refill_rx() 148 if (tp->dirty_rx + RX_RING_SIZE == tp->cur_rx) in tulip_poll() 265 if (tp->cur_rx - tp->dirty_rx > RX_RING_SIZE/4) in tulip_poll() 321 if (tp->rx_buffers[tp->dirty_rx % RX_RING_SIZE].skb == NULL) in tulip_poll() 343 if (tp->cur_rx - tp->dirty_rx > RX_RING_SIZE/2 || in tulip_poll() 344 tp->rx_buffers[tp->dirty_rx % RX_RING_SIZE].skb == NULL) in tulip_poll() 347 if (tp->rx_buffers[tp->dirty_rx % RX_RING_SIZE].skb == NULL) in tulip_poll() 373 int rx_work_limit = tp->dirty_rx + RX_RING_SIZE - tp->cur_rx; in tulip_rx() 788 entry = tp->dirty_rx % RX_RING_SIZE;
|
D | winbond-840.c | 302 unsigned int cur_rx, dirty_rx; /* Producer/consumer ring indices */ member 813 np->dirty_rx = (unsigned int)(i - RX_RING_SIZE); in init_rxtx_rings() 1165 int work_limit = np->dirty_rx + RX_RING_SIZE - np->cur_rx; in netdev_rx() 1252 for (; np->cur_rx - np->dirty_rx > 0; np->dirty_rx++) { in netdev_rx() 1254 entry = np->dirty_rx % RX_RING_SIZE; in netdev_rx() 1477 np->cur_rx, np->dirty_rx); in netdev_close()
|
D | tulip.h | 423 unsigned int dirty_rx, dirty_tx; /* The ring entries to be free()ed. */ member
|
D | tulip_core.c | 324 tp->dirty_rx = tp->dirty_tx = 0; in tulip_up() 639 tp->dirty_rx = (unsigned int)(i - RX_RING_SIZE); in tulip_init_ring()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/packetengines/ |
D | hamachi.c | 494 unsigned int cur_rx, dirty_rx; /* Producer/consumer ring indices */ member 1113 hmp->dirty_rx = hmp->dirty_tx = 0; in hamachi_tx_timeout() 1144 hmp->dirty_rx = (unsigned int)(i - RX_RING_SIZE); in hamachi_tx_timeout() 1169 hmp->dirty_rx = hmp->dirty_tx = 0; in hamachi_init_ring() 1199 hmp->dirty_rx = (unsigned int)(i - RX_RING_SIZE); in hamachi_init_ring() 1408 int boguscnt = (hmp->dirty_rx + RX_RING_SIZE) - hmp->cur_rx; in hamachi_rx() 1586 for (; hmp->cur_rx - hmp->dirty_rx > 0; hmp->dirty_rx++) { in hamachi_rx() 1589 entry = hmp->dirty_rx % RX_RING_SIZE; in hamachi_rx() 1670 dev->name, hmp->cur_tx, hmp->dirty_tx, hmp->cur_rx, hmp->dirty_rx); in hamachi_close()
|
D | yellowfin.c | 323 unsigned int cur_rx, dirty_rx; /* Producer/consumer ring indices */ member 759 yp->dirty_rx = (unsigned int)(i - RX_RING_SIZE); in yellowfin_init_ring() 1047 int boguscnt = yp->dirty_rx + RX_RING_SIZE - yp->cur_rx; in yellowfin_rx() 1161 for (; yp->cur_rx - yp->dirty_rx > 0; yp->dirty_rx++) { in yellowfin_rx() 1162 entry = yp->dirty_rx % RX_RING_SIZE; in yellowfin_rx() 1213 yp->cur_rx, yp->dirty_rx); in yellowfin_close()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/smsc/ |
D | epic100.c | 269 unsigned int cur_rx, dirty_rx; member 788 ep->cur_rx, ep->dirty_rx, ep->dirty_tx, ep->cur_tx); in epic_restart() 904 ep->cur_rx = ep->dirty_rx = 0; in epic_init_ring() 931 ep->dirty_rx = (unsigned int)(i - RX_RING_SIZE); in epic_init_ring() 1143 int rx_work_limit = ep->dirty_rx + RX_RING_SIZE - ep->cur_rx; in epic_rx() 1217 for (; ep->cur_rx - ep->dirty_rx > 0; ep->dirty_rx++) { in epic_rx() 1218 entry = ep->dirty_rx % RX_RING_SIZE; in epic_rx()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sis/ |
D | sis900.c | 179 unsigned int cur_rx, dirty_rx; /* producer/consumer pointers for Tx/Rx ring */ member 1165 sis_priv->dirty_rx = 0; in sis900_init_rx_ring() 1201 sis_priv->dirty_rx = (unsigned int) (i - NUM_RX_DESC); in sis900_init_rx_ring() 1744 sis_priv->cur_rx, sis_priv->dirty_rx, rx_status); in sis900_rx() 1745 rx_work_limit = sis_priv->dirty_rx + NUM_RX_DESC - sis_priv->cur_rx; in sis900_rx() 1811 sis_priv->dirty_rx); in sis900_rx() 1827 sis_priv->dirty_rx++; in sis900_rx() 1849 for (; sis_priv->cur_rx != sis_priv->dirty_rx; sis_priv->dirty_rx++) { in sis900_rx() 1852 entry = sis_priv->dirty_rx % NUM_RX_DESC; in sis900_rx()
|
D | sis190.c | 273 u32 dirty_rx; member 581 rx_left = NUM_RX_DESC + tp->dirty_rx - cur_rx; in sis190_rx_interrupt() 641 delta = sis190_rx_fill(tp, dev, tp->dirty_rx, tp->cur_rx); in sis190_rx_interrupt() 644 tp->dirty_rx += delta; in sis190_rx_interrupt() 646 if ((tp->dirty_rx + NUM_RX_DESC) == tp->cur_rx) in sis190_rx_interrupt() 811 tp->dirty_tx = tp->dirty_rx = tp->cur_tx = tp->cur_rx = 0; in sis190_init_ring_indexes()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/dlink/ |
D | sundance.c | 388 unsigned int cur_rx, dirty_rx; /* Producer/consumer ring indices */ member 990 printk(KERN_DEBUG "cur_rx=%d dirty_rx=%d\n", np->cur_rx, np->dirty_rx); in tx_timeout() 1018 np->dirty_rx = np->dirty_tx = 0; in init_ring() 1051 np->dirty_rx = (unsigned int)(i - RX_RING_SIZE); in init_ring() 1418 for (;(np->cur_rx - np->dirty_rx + RX_RING_SIZE) % RX_RING_SIZE > 0; in refill_rx() 1419 np->dirty_rx = (np->dirty_rx + 1) % RX_RING_SIZE) { in refill_rx() 1421 entry = np->dirty_rx % RX_RING_SIZE; in refill_rx() 1838 dev->name, np->cur_tx, np->dirty_tx, np->cur_rx, np->dirty_rx); in netdev_close()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
D | chain_mode.c | 139 (((rx_q->dirty_rx) + 1) % in refill_desc3()
|
D | stmmac.h | 80 unsigned int dirty_rx; member
|
D | stmmac_main.c | 319 if (rx_q->dirty_rx <= rx_q->cur_rx) in stmmac_rx_dirty() 320 dirty = rx_q->cur_rx - rx_q->dirty_rx; in stmmac_rx_dirty() 322 dirty = priv->dma_rx_size - rx_q->dirty_rx + rx_q->cur_rx; in stmmac_rx_dirty() 1462 rx_q->dirty_rx = (unsigned int)(i - priv->dma_rx_size); in init_dma_rx_desc_rings() 3686 unsigned int entry = rx_q->dirty_rx; in stmmac_rx_refill() 3747 rx_q->dirty_rx = entry; in stmmac_rx_refill() 3749 (rx_q->dirty_rx * sizeof(struct dma_desc)); in stmmac_rx_refill() 5345 rx_q->dirty_rx = 0; in stmmac_reset_queues_param()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/3com/ |
D | 3c515.c | 305 unsigned int dirty_rx, dirty_tx;/* The ring entries to be free()ed. */ member 803 vp->cur_rx = vp->dirty_rx = 0; in corkscrew_open() 1384 for (; vp->cur_rx - vp->dirty_rx > 0; vp->dirty_rx++) { in boomerang_rx() 1386 entry = vp->dirty_rx % RX_RING_SIZE; in boomerang_rx()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/adaptec/ |
D | starfire.c | 551 unsigned int cur_rx, dirty_rx; /* Producer/consumer ring indices */ member 1131 np->dirty_rx = np->dirty_tx = np->rx_done = np->tx_done = 0; in init_ring() 1154 np->dirty_rx = (unsigned int)(i - RX_RING_SIZE); in init_ring() 1588 for (; np->cur_rx - np->dirty_rx > 0; np->dirty_rx++) { in refill_rx_ring() 1589 entry = np->dirty_rx % RX_RING_SIZE; in refill_rx_ring() 1938 np->cur_rx, np->dirty_rx); in netdev_close()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/natsemi/ |
D | natsemi.c | 558 unsigned int cur_rx, dirty_rx; member 1930 for (; np->cur_rx - np->dirty_rx > 0; np->dirty_rx++) { in refill_rx() 1932 int entry = np->dirty_rx % RX_RING_SIZE; in refill_rx() 1951 if (np->cur_rx - np->dirty_rx == RX_RING_SIZE) { in refill_rx() 1984 np->dirty_rx = 0; in init_ring() 2062 np->dirty_rx = 0; in reinit_rx() 2281 int boguscnt = np->dirty_rx + RX_RING_SIZE - np->cur_rx; in netdev_rx() 3171 np->cur_rx, np->dirty_rx); in netdev_close()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/renesas/ |
D | sh_eth.c | 1333 mdp->dirty_rx = 0; in sh_eth_ring_format() 1371 mdp->dirty_rx = (u32) (i - mdp->num_rx_ring); in sh_eth_ring_format() 1430 mdp->dirty_rx = 0; in sh_eth_ring_init() 1590 int boguscnt = (mdp->dirty_rx + mdp->num_rx_ring) - mdp->cur_rx; in sh_eth_rx() 1670 for (; mdp->cur_rx - mdp->dirty_rx > 0; mdp->dirty_rx++) { in sh_eth_rx() 1671 entry = mdp->dirty_rx % mdp->num_rx_ring; in sh_eth_rx() 1710 mdp->dirty_rx = count; in sh_eth_rx() 2282 data[i++] = mdp->dirty_rx; in sh_eth_get_ethtool_stats()
|
D | ravb_main.c | 288 priv->dirty_rx[q] = 0; in ravb_ring_format() 377 priv->dirty_rx[q] = 0; in ravb_ring_init() 537 int boguscnt = (priv->dirty_rx[q] + priv->num_rx_ring[q]) - in ravb_rx() 614 for (; priv->cur_rx[q] - priv->dirty_rx[q] > 0; priv->dirty_rx[q]++) { in ravb_rx() 615 entry = priv->dirty_rx[q] % priv->num_rx_ring[q]; in ravb_rx() 1159 data[i++] = priv->dirty_rx[q]; in ravb_get_ethtool_stats()
|
D | sh_eth.h | 529 u32 cur_rx, dirty_rx; /* Producer/consumer ring indices */ member
|
D | ravb.h | 1020 u32 dirty_rx[NUM_RX_QUEUE]; /* Producer ring indices */ member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_common.h | 399 unsigned int dirty_rx; member
|
D | sxgbe_main.c | 518 rx_ring->dirty_rx = (unsigned int)(desc_index - rx_rsize); in init_rx_ring() 1441 for (; priv->rxq[qnum]->cur_rx - priv->rxq[qnum]->dirty_rx > 0; in sxgbe_rx_refill() 1442 priv->rxq[qnum]->dirty_rx++) { in sxgbe_rx_refill() 1443 unsigned int entry = priv->rxq[qnum]->dirty_rx % rxsize; in sxgbe_rx_refill()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/ |
D | lance.c | 249 int dirty_rx, dirty_tx; /* The ring entries to be free()ed. */ member 867 lp->dirty_rx = lp->dirty_tx = 0; in lance_init_ring()
|
D | pcnet32.c | 280 unsigned int dirty_rx, /* ring entries to be freed. */ member 2354 lp->dirty_rx = lp->dirty_tx = 0; in pcnet32_init_ring()
|
/kernel/linux/linux-5.10/drivers/net/hippi/ |
D | rrunner.h | 819 u32 dirty_rx, dirty_tx; member
|