Home
last modified time | relevance | path

Searched refs:rx_riwt (Results 1 – 14 of 14) sorted by relevance

/drivers/net/ethernet/synopsys/
A Ddwc-xlgmac-ethtool.c172 unsigned int rx_frames, rx_riwt, rx_usecs; in xlgmac_ethtool_set_coalesce() local
176 rx_riwt = hw_ops->usec_to_riwt(pdata, rx_usecs); in xlgmac_ethtool_set_coalesce()
180 if ((rx_riwt > XLGMAC_MAX_DMA_RIWT) || in xlgmac_ethtool_set_coalesce()
181 (rx_riwt < XLGMAC_MIN_DMA_RIWT) || in xlgmac_ethtool_set_coalesce()
188 pdata->rx_riwt = rx_riwt; in xlgmac_ethtool_set_coalesce()
A Ddwc-xlgmac.h592 unsigned int rx_riwt; member
A Ddwc-xlgmac-common.c219 pdata->rx_riwt = hw_ops->usec_to_riwt(pdata, XLGMAC_INIT_DMA_RX_USECS); in xlgmac_init()
A Ddwc-xlgmac-hw.c1314 pdata->rx_riwt); in xlgmac_config_rx_coalesce()
/drivers/net/ethernet/samsung/sxgbe/
A Dsxgbe_ethtool.c282 ec->rx_coalesce_usecs = sxgbe_riwt2usec(priv->rx_riwt, priv); in sxgbe_get_coalesce()
293 unsigned int rx_riwt; in sxgbe_set_coalesce() local
298 rx_riwt = sxgbe_usec2riwt(ec->rx_coalesce_usecs, priv); in sxgbe_set_coalesce()
300 if ((rx_riwt > SXGBE_MAX_DMA_RIWT) || (rx_riwt < SXGBE_MIN_DMA_RIWT)) in sxgbe_set_coalesce()
305 priv->rx_riwt = rx_riwt; in sxgbe_set_coalesce()
306 priv->hw->dma->rx_watchdog(priv->ioaddr, priv->rx_riwt); in sxgbe_set_coalesce()
A Dsxgbe_common.h401 u32 rx_riwt; member
461 u32 rx_riwt; member
A Dsxgbe_main.c1179 priv->rx_riwt = SXGBE_MAX_DMA_RIWT; in sxgbe_open()
/drivers/net/ethernet/stmicro/stmmac/
A Dstmmac_ethtool.c926 ec->rx_coalesce_usecs = stmmac_riwt2usec(priv->rx_riwt[queue], in __stmmac_get_coalesce()
956 unsigned int rx_riwt; in __stmmac_set_coalesce() local
971 rx_riwt = stmmac_usec2riwt(ec->rx_coalesce_usecs, priv); in __stmmac_set_coalesce()
973 if ((rx_riwt > MAX_DMA_RIWT) || (rx_riwt < MIN_DMA_RIWT)) in __stmmac_set_coalesce()
980 priv->rx_riwt[i] = rx_riwt; in __stmmac_set_coalesce()
982 rx_riwt, i); in __stmmac_set_coalesce()
987 priv->rx_riwt[queue] = rx_riwt; in __stmmac_set_coalesce()
989 rx_riwt, queue); in __stmmac_set_coalesce()
A Dstmmac.h258 u32 rx_riwt[MTL_MAX_RX_QUEUES]; member
A Dstmmac_main.c3580 if (!priv->rx_riwt[queue]) in stmmac_hw_setup()
3581 priv->rx_riwt[queue] = DEF_DMA_RIWT; in stmmac_hw_setup()
3584 priv->rx_riwt[queue], queue); in stmmac_hw_setup()
/drivers/net/ethernet/amd/xgbe/
A Dxgbe-ethtool.c344 unsigned int rx_frames, rx_riwt, rx_usecs; in xgbe_set_coalesce() local
347 rx_riwt = hw_if->usec_to_riwt(pdata, ec->rx_coalesce_usecs); in xgbe_set_coalesce()
352 if (rx_usecs && !rx_riwt) in xgbe_set_coalesce()
353 rx_riwt = 1; in xgbe_set_coalesce()
356 if (rx_riwt > XGMAC_MAX_DMA_RIWT) { in xgbe_set_coalesce()
376 pdata->rx_riwt = rx_riwt; in xgbe_set_coalesce()
A Dxgbe.h1097 unsigned int rx_riwt; member
A Dxgbe-drv.c1011 pdata->rx_riwt = hw_if->usec_to_riwt(pdata, XGMAC_INIT_DMA_RX_USECS); in xgbe_init_rx_coalesce()
A Dxgbe-dev.c166 pdata->rx_riwt); in xgbe_config_rx_coalesce()

Completed in 59 milliseconds