Home
last modified time | relevance | path

Searched refs:cur_rx (Results 1 – 51 of 51) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/dec/tulip/
Dinterrupt.c66 for (; tp->cur_rx - tp->dirty_rx > 0; tp->dirty_rx++) { in tulip_refill_rx()
116 int entry = tp->cur_rx % RX_RING_SIZE; in tulip_poll()
148 if (tp->dirty_rx + RX_RING_SIZE == tp->cur_rx) in tulip_poll()
260 entry = (++tp->cur_rx) % RX_RING_SIZE; in tulip_poll()
261 if (tp->cur_rx - tp->dirty_rx > RX_RING_SIZE/4) in tulip_poll()
339 if (tp->cur_rx - tp->dirty_rx > RX_RING_SIZE/2 || in tulip_poll()
368 int entry = tp->cur_rx % RX_RING_SIZE; in tulip_rx()
369 int rx_work_limit = tp->dirty_rx + RX_RING_SIZE - tp->cur_rx; in tulip_rx()
483 entry = (++tp->cur_rx) % RX_RING_SIZE; in tulip_rx()
785 tp->nir, tp->cur_rx, tp->ttimer, rx);
Dwinbond-840.c312 unsigned int cur_rx, dirty_rx; /* Producer/consumer ring indices */ member
825 np->cur_rx = 0; in init_rxtx_rings()
1181 int entry = np->cur_rx % RX_RING_SIZE; in netdev_rx()
1182 int work_limit = np->dirty_rx + RX_RING_SIZE - np->cur_rx; in netdev_rx()
1205 np->cur_rx, status); in netdev_rx()
1261 entry = (++np->cur_rx) % RX_RING_SIZE; in netdev_rx()
1266 for (; np->cur_rx - np->dirty_rx > 0; np->dirty_rx++) { in netdev_rx()
1490 np->cur_rx, np->dirty_rx); in netdev_close()
Dtulip.h422 unsigned int cur_rx, cur_tx; /* The next free ring entry */ member
Dtulip_core.c334 tp->cur_rx = tp->cur_tx = 0; in tulip_up()
/linux-4.4.14/drivers/net/ethernet/
Dfealnx.c400 struct fealnx_desc *cur_rx; member
1159 iowrite32(np->rx_ring_dma + ((char*)np->cur_rx - (char*)np->rx_ring), in enable_rxtx()
1244 np->cur_rx = &np->rx_ring[0]; in init_ring()
1415 struct fealnx_desc *cur = np->cur_rx; in reset_rx_descriptors()
1426 iowrite32(np->rx_ring_dma + ((char*)np->cur_rx - (char*)np->rx_ring), in reset_rx_descriptors()
1618 while (!(np->cur_rx->status & RXOWN) && np->cur_rx->skbuff) { in netdev_rx()
1619 s32 rx_status = np->cur_rx->status; in netdev_rx()
1650 cur = np->cur_rx; in netdev_rx()
1671 if (!np->cur_rx->skbuff) { in netdev_rx()
1676 np->cur_rx->status = RXOWN; in netdev_rx()
[all …]
Dethoc.c212 unsigned int cur_rx; member
311 dev->cur_rx = 0; in ethoc_init_ring()
430 entry = priv->num_tx + priv->cur_rx; in ethoc_rx()
474 if (++priv->cur_rx == priv->num_rx) in ethoc_rx()
475 priv->cur_rx = 0; in ethoc_rx()
/linux-4.4.14/drivers/staging/rdma/amso1100/
Dc2.c477 rx_ring->to_clean = rx_ring->start + c2dev->cur_rx; in c2_rx_interrupt()
538 c2dev->cur_rx = elem - rx_ring->start; in c2_rx_interrupt()
539 C2_SET_CUR_RX(c2dev, c2dev->cur_rx); in c2_rx_interrupt()
733 unsigned int cur_rx = c2dev->cur_rx; in c2_reset() local
736 C2_SET_CUR_RX(c2dev, cur_rx | C2_PCI_HRX_QUI); in c2_reset()
744 cur_rx = C2_GET_CUR_RX(c2dev); in c2_reset()
746 if (cur_rx & C2_PCI_HRX_QUI) in c2_reset()
749 cur_rx &= ~C2_PCI_HRX_QUI; in c2_reset()
751 c2dev->cur_rx = cur_rx; in c2_reset()
753 pr_debug("Current RX: %u\n", c2dev->cur_rx); in c2_reset()
[all …]
Dc2.h296 unsigned int cur_rx; member
423 #define C2_SET_CUR_RX(c2dev, cur_rx) \ argument
424 __raw_writel((__force u32) cpu_to_be32(cur_rx), c2dev->mmio_txp_ring + 4092)
/linux-4.4.14/drivers/net/ethernet/amd/
Dariadne.c92 int cur_tx, cur_rx; /* The next free ring entry */ member
125 priv->cur_rx = priv->cur_tx = 0; in ariadne_init_ring()
164 int entry = priv->cur_rx % RX_RING_SIZE; in ariadne_rx()
204 priv->cur_rx++; in ariadne_rx()
227 entry = (++priv->cur_rx) % RX_RING_SIZE; in ariadne_rx()
230 priv->cur_rx = priv->cur_rx % RX_RING_SIZE; in ariadne_rx()
Datarilance.c222 int cur_rx, cur_tx; /* The next free ring entry */ member
689 lp->cur_rx = lp->cur_tx = 0; in lance_init_ring()
750 lp->cur_rx )); in lance_tx_timeout()
964 int entry = lp->cur_rx & RX_RING_MOD_MASK; in lance_rx()
1007 lp->cur_rx++; in lance_rx()
1036 entry = (++lp->cur_rx) & RX_RING_MOD_MASK; in lance_rx()
1038 lp->cur_rx &= RX_RING_MOD_MASK; in lance_rx()
Dlance.c248 int cur_rx, cur_tx; /* The next free ring entry */ member
867 lp->cur_rx = lp->cur_tx = 0; in lance_init_ring()
932 lp->cur_rx); in lance_tx_timeout()
1148 int entry = lp->cur_rx & RX_RING_MOD_MASK; in lance_rx()
1197 lp->cur_rx++; in lance_rx()
1216 entry = (++lp->cur_rx) & RX_RING_MOD_MASK; in lance_rx()
Dpcnet32.c275 unsigned int cur_rx, cur_tx; /* The next free ring entry */ member
1223 int entry = lp->cur_rx & lp->rx_mod_mask; in pcnet32_rx()
1238 entry = (++lp->cur_rx) & lp->rx_mod_mask; in pcnet32_rx()
2307 lp->cur_rx = lp->cur_tx = 0; in pcnet32_init_ring()
2412 lp->cur_rx); in pcnet32_tx_timeout()
/linux-4.4.14/drivers/net/ethernet/nuvoton/
Dw90p910_ether.c167 unsigned int cur_rx; member
482 ether->cur_rx = 0x0; in w90p910_reset_mac()
715 rxbd = &ether->rdesc->desclist[ether->cur_rx]; in netdev_rx()
721 offsetof(struct recv_pdesc, desclist[ether->cur_rx]); in netdev_rx()
730 data = ether->rdesc->recv_buf[ether->cur_rx]; in netdev_rx()
765 if (++ether->cur_rx >= RX_DESC_SIZE) in netdev_rx()
766 ether->cur_rx = 0; in netdev_rx()
768 rxbd = &ether->rdesc->desclist[ether->cur_rx]; in netdev_rx()
956 ether->cur_rx = 0x0; in w90p910_ether_setup()
/linux-4.4.14/drivers/net/ethernet/sis/
Dsis190.c271 u32 cur_rx; member
578 u32 rx_left, cur_rx = tp->cur_rx; in sis190_rx_interrupt() local
581 rx_left = NUM_RX_DESC + tp->dirty_rx - cur_rx; in sis190_rx_interrupt()
584 for (; rx_left > 0; rx_left--, cur_rx++) { in sis190_rx_interrupt()
585 unsigned int entry = cur_rx % NUM_RX_DESC; in sis190_rx_interrupt()
636 count = cur_rx - tp->cur_rx; in sis190_rx_interrupt()
637 tp->cur_rx = cur_rx; in sis190_rx_interrupt()
639 delta = sis190_rx_fill(tp, dev, tp->dirty_rx, tp->cur_rx); in sis190_rx_interrupt()
644 if ((tp->dirty_rx + NUM_RX_DESC) == tp->cur_rx) in sis190_rx_interrupt()
808 tp->dirty_tx = tp->dirty_rx = tp->cur_tx = tp->cur_rx = 0; in sis190_init_ring_indexes()
Dsis900.c179 unsigned int cur_rx, dirty_rx; /* producer/comsumer pointers for Tx/Rx ring */ member
1164 sis_priv->cur_rx = 0; in sis900_init_rx_ring()
1733 unsigned int entry = sis_priv->cur_rx % NUM_RX_DESC; in sis900_rx()
1740 sis_priv->cur_rx, sis_priv->dirty_rx, rx_status); in sis900_rx()
1741 rx_work_limit = sis_priv->dirty_rx + NUM_RX_DESC - sis_priv->cur_rx; in sis900_rx()
1806 net_dev->name, sis_priv->cur_rx, in sis900_rx()
1837 sis_priv->cur_rx++; in sis900_rx()
1838 entry = sis_priv->cur_rx % NUM_RX_DESC; in sis900_rx()
1844 for (; sis_priv->cur_rx != sis_priv->dirty_rx; sis_priv->dirty_rx++) { in sis900_rx()
/linux-4.4.14/drivers/net/ethernet/packetengines/
Dhamachi.c494 unsigned int cur_rx, dirty_rx; /* Producer/consumer ring indices */ member
1112 hmp->cur_rx = hmp->cur_tx = 0; in hamachi_tx_timeout()
1166 hmp->cur_rx = hmp->cur_tx = 0; in hamachi_init_ring()
1401 int entry = hmp->cur_rx % RX_RING_SIZE; in hamachi_rx()
1402 int boguscnt = (hmp->dirty_rx + RX_RING_SIZE) - hmp->cur_rx; in hamachi_rx()
1433 dev->name, hmp->cur_rx, data_size, desc_status); in hamachi_rx()
1435 dev->name, desc, &hmp->rx_ring[hmp->cur_rx % RX_RING_SIZE]); in hamachi_rx()
1438 le32_to_cpu(hmp->rx_ring[(hmp->cur_rx+1) % RX_RING_SIZE].status_n_length) & 0xffff0000, in hamachi_rx()
1439 le32_to_cpu(hmp->rx_ring[(hmp->cur_rx+1) % RX_RING_SIZE].status_n_length) & 0x0000ffff, in hamachi_rx()
1440 le32_to_cpu(hmp->rx_ring[(hmp->cur_rx-1) % RX_RING_SIZE].status_n_length)); in hamachi_rx()
[all …]
Dyellowfin.c323 unsigned int cur_rx, dirty_rx; /* Producer/consumer ring indices */ member
728 yp->cur_rx = yp->cur_tx = 0; in yellowfin_init_ring()
1039 int entry = yp->cur_rx % RX_RING_SIZE; in yellowfin_rx()
1040 int boguscnt = yp->dirty_rx + RX_RING_SIZE - yp->cur_rx; in yellowfin_rx()
1149 entry = (++yp->cur_rx) % RX_RING_SIZE; in yellowfin_rx()
1153 for (; yp->cur_rx - yp->dirty_rx > 0; yp->dirty_rx++) { in yellowfin_rx()
1203 yp->cur_rx, yp->dirty_rx); in yellowfin_close()
/linux-4.4.14/drivers/net/ethernet/realtek/
D8139too.c587 unsigned int cur_rx; /* RX buf index of next pkt */ member
1406 tp->cur_rx = 0; in rtl8139_hw_start()
1459 tp->cur_rx = 0; in rtl8139_init_ring()
1868 tp->cur_rx = 0; in rtl8139_rx_err()
1902 tp->cur_rx = 0; in rtl8139_rx_err()
1955 unsigned int cur_rx = tp->cur_rx; in rtl8139_rx() local
1959 __func__, (u16)cur_rx, in rtl8139_rx()
1964 u32 ring_offset = cur_rx % RX_BUF_LEN; in rtl8139_rx()
1980 __func__, rx_status, rx_size, cur_rx); in rtl8139_rx()
2064 cur_rx = (cur_rx + rx_size + 4 + 3) & ~3; in rtl8139_rx()
[all …]
Dr8169.c782 u32 cur_rx; /* Index into the Rx descriptor buffer of next Rx pkt. */ member
4961 tp->dirty_tx = tp->cur_tx = tp->cur_rx = 0; in rtl8169_init_ring_indexes()
7244 if ((tp->cp_cmd & PCIDAC) && !tp->cur_rx) { in rtl8169_pcierr_interrupt()
7360 unsigned int cur_rx, rx_left; in rtl_rx() local
7363 cur_rx = tp->cur_rx; in rtl_rx()
7365 for (rx_left = min(budget, NUM_RX_DESC); rx_left > 0; rx_left--, cur_rx++) { in rtl_rx()
7366 unsigned int entry = cur_rx % NUM_RX_DESC; in rtl_rx()
7447 count = cur_rx - tp->cur_rx; in rtl_rx()
7448 tp->cur_rx = cur_rx; in rtl_rx()
/linux-4.4.14/drivers/net/arcnet/
Darcnet.c474 lp->cur_rx = -1; in arcnet_open()
818 recbuf = lp->cur_rx; in arcnet_interrupt()
822 lp->cur_rx = get_arcbuf(dev); in arcnet_interrupt()
823 if (lp->cur_rx != -1) { in arcnet_interrupt()
825 lp->cur_rx); in arcnet_interrupt()
826 lp->hw.command(dev, RXcmd | (lp->cur_rx << 3) | RXbcasts); in arcnet_interrupt()
Darcdevice.h254 cur_rx; /* current receive buffer */ member
/linux-4.4.14/drivers/net/ethernet/smsc/
Depic100.c270 unsigned int cur_rx, dirty_rx; member
790 ep->cur_rx, ep->dirty_rx, ep->dirty_tx, ep->cur_tx); in epic_restart()
813 (ep->cur_rx % RX_RING_SIZE) * sizeof(struct epic_rx_desc)); in epic_restart()
906 ep->cur_rx = ep->dirty_rx = 0; in epic_init_ring()
1141 int entry = ep->cur_rx % RX_RING_SIZE; in epic_rx()
1142 int rx_work_limit = ep->dirty_rx + RX_RING_SIZE - ep->cur_rx; in epic_rx()
1211 entry = (++ep->cur_rx) % RX_RING_SIZE; in epic_rx()
1215 for (; ep->cur_rx - ep->dirty_rx > 0; ep->dirty_rx++) { in epic_rx()
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
Dstmmac.h72 unsigned int cur_rx; member
Dstmmac_main.c1077 priv->cur_rx = 0; in init_dma_desc_rings()
2125 for (; priv->cur_rx - priv->dirty_rx > 0; priv->dirty_rx++) { in stmmac_rx_refill()
2175 unsigned int entry = priv->cur_rx % rxsize; in stmmac_rx()
2201 next_entry = (++priv->cur_rx) % rxsize; in stmmac_rx()
3106 priv->cur_rx = 0; in stmmac_resume()
/linux-4.4.14/drivers/net/ethernet/dlink/
Dsundance.c395 unsigned int cur_rx, dirty_rx; /* Producer/consumer ring indices */ member
1003 printk(KERN_DEBUG "cur_rx=%d dirty_rx=%d\n", np->cur_rx, np->dirty_rx); in tx_timeout()
1030 np->cur_rx = np->cur_tx = 0; in init_ring()
1335 int entry = np->cur_rx % RX_RING_SIZE; in rx_poll()
1409 np->cur_rx = entry; in rx_poll()
1416 np->cur_rx = entry; in rx_poll()
1433 for (;(np->cur_rx - np->dirty_rx + RX_RING_SIZE) % RX_RING_SIZE > 0; in refill_rx()
1852 dev->name, np->cur_tx, np->dirty_tx, np->cur_rx, np->dirty_rx); in netdev_close()
Ddl2k.c543 if (np->cur_rx - np->old_rx >= RX_RING_SIZE) { in rio_timer()
546 for (; np->cur_rx - np->old_rx > 0; np->old_rx++) { in rio_timer()
597 np->cur_rx = np->cur_tx = 0; in alloc_list()
868 int entry = np->cur_rx % RX_RING_SIZE; in receive_packet()
936 np->cur_rx = entry; in receive_packet()
939 while (entry != np->cur_rx) { in receive_packet()
Ddl2k.h397 unsigned long cur_rx, old_rx; /* Producer/consumer ring indices */ member
/linux-4.4.14/drivers/net/ethernet/natsemi/
Dsonic.c412 int entry = lp->cur_rx; in sonic_rx()
494 lp->cur_rx = entry = (entry + 1) & SONIC_RDS_MASK; in sonic_rx()
660 lp->cur_rx = 0; in sonic_init()
Dnatsemi.c558 unsigned int cur_rx, dirty_rx; member
1929 for (; np->cur_rx - np->dirty_rx > 0; np->dirty_rx++) { in refill_rx()
1950 if (np->cur_rx - np->dirty_rx == RX_RING_SIZE) { in refill_rx()
1984 np->cur_rx = RX_RING_SIZE; in init_ring()
2063 np->cur_rx = RX_RING_SIZE; in reinit_rx()
2207 prefetch(&np->rx_skbuff[np->cur_rx % RX_RING_SIZE]); in intr_handler()
2281 int entry = np->cur_rx % RX_RING_SIZE; in netdev_rx()
2282 int boguscnt = np->dirty_rx + RX_RING_SIZE - np->cur_rx; in netdev_rx()
2313 np->cur_rx, desc_status); in netdev_rx()
2381 entry = (++np->cur_rx) % RX_RING_SIZE; in netdev_rx()
[all …]
Dsonic.h316 unsigned int cur_rx; member
/linux-4.4.14/drivers/net/ethernet/3com/
D3c515.c310 unsigned int cur_rx, cur_tx; /* The next free ring entry */ member
817 vp->cur_rx = vp->dirty_rx = 0; in corkscrew_open()
1333 int entry = vp->cur_rx % RX_RING_SIZE; in boomerang_rx()
1395 entry = (++vp->cur_rx) % RX_RING_SIZE; in boomerang_rx()
1398 for (; vp->cur_rx - vp->dirty_rx > 0; vp->dirty_rx++) { in boomerang_rx()
D3c59x.c604 unsigned int cur_rx, cur_tx; /* The next free ring entry */ member
1687 vp->cur_rx = vp->dirty_rx = 0; in vortex_up()
2596 int entry = vp->cur_rx % RX_RING_SIZE; in boomerang_rx()
2599 int rx_work_limit = vp->dirty_rx + RX_RING_SIZE - vp->cur_rx; in boomerang_rx()
2660 entry = (++vp->cur_rx) % RX_RING_SIZE; in boomerang_rx()
2663 for (; vp->cur_rx - vp->dirty_rx > 0; vp->dirty_rx++) { in boomerang_rx()
2675 if ((vp->cur_rx - vp->dirty_rx) == RX_RING_SIZE) in boomerang_rx()
2700 …if ((vp->cur_rx - vp->dirty_rx) == RX_RING_SIZE) /* This test is redundant, but makes me feel good… in rx_oom_timer()
2704 ((vp->cur_rx - vp->dirty_rx) != RX_RING_SIZE) ? "succeeded" : "retrying"); in rx_oom_timer()
/linux-4.4.14/drivers/net/ethernet/freescale/fs_enet/
Dfs_enet.h141 cbd_t __iomem *cur_rx; member
Dfs_enet-main.c101 bdp = fep->cur_rx; in fs_enet_rx_napi()
205 fep->cur_rx = bdp; in fs_enet_rx_napi()
400 fep->cur_rx = fep->rx_bd_base; in fs_init_bds()
/linux-4.4.14/drivers/net/ethernet/renesas/
Dravb_main.c231 priv->cur_rx[q] = 0; in ravb_ring_format()
500 int entry = priv->cur_rx[q] % priv->num_rx_ring[q]; in ravb_rx()
502 priv->cur_rx[q]; in ravb_rx()
570 entry = (++priv->cur_rx[q]) % priv->num_rx_ring[q]; in ravb_rx()
575 for (; priv->cur_rx[q] - priv->dirty_rx[q] > 0; priv->dirty_rx[q]++) { in ravb_rx()
1072 data[i++] = priv->cur_rx[q]; in ravb_get_ethtool_stats()
Dsh_eth.h513 u32 cur_rx, dirty_rx; /* Producer/consumer ring indices */ member
Dsh_eth.c1172 mdp->cur_rx = 0; in sh_eth_ring_format()
1457 int entry = mdp->cur_rx % mdp->num_rx_ring; in sh_eth_rx()
1458 int boguscnt = (mdp->dirty_rx + mdp->num_rx_ring) - mdp->cur_rx; in sh_eth_rx()
1531 entry = (++mdp->cur_rx) % mdp->num_rx_ring; in sh_eth_rx()
1536 for (; mdp->cur_rx - mdp->dirty_rx > 0; mdp->dirty_rx++) { in sh_eth_rx()
1577 mdp->cur_rx = count; in sh_eth_rx()
2197 data[i++] = mdp->cur_rx; in sh_eth_get_ethtool_stats()
Dravb.h800 u32 cur_rx[NUM_RX_QUEUE]; /* Consumer ring indices */ member
/linux-4.4.14/drivers/net/ethernet/adaptec/
Dstarfire.c559 unsigned int cur_rx, dirty_rx; /* Producer/consumer ring indices */ member
1144 np->cur_rx = np->cur_tx = np->reap_tx = 0; in init_ring()
1507 np->cur_rx++; in __netdev_rx()
1564 for (; np->cur_rx - np->dirty_rx > 0; np->dirty_rx++) { in refill_rx_ring()
1907 np->cur_rx, np->dirty_rx); in netdev_close()
/linux-4.4.14/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_common.h402 unsigned int cur_rx; member
Dsxgbe_main.c519 rx_ring->cur_rx = 0; in init_rx_ring()
1457 for (; priv->rxq[qnum]->cur_rx - priv->rxq[qnum]->dirty_rx > 0; in sxgbe_rx_refill()
1501 unsigned int entry = priv->rxq[qnum]->cur_rx; in sxgbe_rx()
1519 next_entry = (++priv->rxq[qnum]->cur_rx) % rxsize; in sxgbe_rx()
/linux-4.4.14/drivers/net/ethernet/freescale/
Dfec.h460 struct bufdesc *cur_rx; member
Dfec_main.c835 rxq->cur_rx = rxq->rx_bd_base; in fec_enet_bd_init()
1396 bdp = rxq->cur_rx; in fec_enet_rx_queue()
1548 rxq->cur_rx = bdp; in fec_enet_rx_queue()
/linux-4.4.14/drivers/net/wireless/
Dadm8211.h547 unsigned int cur_tx, dirty_tx, cur_rx; member
Dadm8211.c358 unsigned int entry = priv->cur_rx % priv->rx_ring_size; in adm8211_interrupt_rci()
449 entry = (++priv->cur_rx) % priv->rx_ring_size; in adm8211_interrupt_rci()
1468 priv->cur_rx = priv->cur_tx = priv->dirty_tx = 0; in adm8211_init_rings()
/linux-4.4.14/drivers/net/hippi/
Drrunner.c618 rrpriv->cur_rx = 0; in rr_init1()
1016 rrpriv->cur_rx = index; in rx_int()
1055 rxindex = rrpriv->cur_rx; in rr_interrupt()
Drrunner.h817 u32 cur_rx, cur_cmd, cur_evt; member
/linux-4.4.14/drivers/net/ethernet/via/
Dvia-rhine.c474 unsigned int cur_rx; member
1244 rp->cur_rx = 0; in rhine_reset_rbufs()
2051 int entry = rp->cur_rx % RX_RING_SIZE; in rhine_rx()
2151 entry = (++rp->cur_rx) % RX_RING_SIZE; in rhine_rx()
/linux-4.4.14/drivers/net/ethernet/alteon/
Dacenic.h661 u32 cur_rx; member
Dacenic.c1428 ap->cur_rx = 0; in ace_init()
2029 ap->cur_rx = idx; in ace_rx_int()
2139 rxretcsm = ap->cur_rx; in ace_interrupt()
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dchip.c8147 u64 cur_rx; in update_synth_timer() local
8163 cur_rx = entry->rw_cntr(entry, dd, CNTR_INVALID_VL, CNTR_MODE_R, 0); in update_synth_timer()
8171 dd->unit, cur_tx, cur_rx, dd->last_tx, dd->last_rx); in update_synth_timer()
8173 if ((cur_tx < dd->last_tx) || (cur_rx < dd->last_rx)) { in update_synth_timer()
8182 total_flits = (cur_tx - dd->last_tx) + (cur_rx - dd->last_rx); in update_synth_timer()