Searched refs:rx_riwt (Results 1 – 14 of 14) sorted by relevance
/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac-ethtool.c | 166 unsigned int rx_frames, rx_riwt, rx_usecs; in xlgmac_ethtool_set_coalesce() local 170 rx_riwt = hw_ops->usec_to_riwt(pdata, rx_usecs); in xlgmac_ethtool_set_coalesce() 174 if ((rx_riwt > XLGMAC_MAX_DMA_RIWT) || in xlgmac_ethtool_set_coalesce() 175 (rx_riwt < XLGMAC_MIN_DMA_RIWT) || in xlgmac_ethtool_set_coalesce() 182 pdata->rx_riwt = rx_riwt; in xlgmac_ethtool_set_coalesce()
|
D | dwc-xlgmac.h | 591 unsigned int rx_riwt; member
|
D | dwc-xlgmac-common.c | 221 pdata->rx_riwt = hw_ops->usec_to_riwt(pdata, XLGMAC_INIT_DMA_RX_USECS); in xlgmac_init()
|
D | dwc-xlgmac-hw.c | 1314 pdata->rx_riwt); in xlgmac_config_rx_coalesce()
|
/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_ethtool.c | 282 ec->rx_coalesce_usecs = sxgbe_riwt2usec(priv->rx_riwt, priv); in sxgbe_get_coalesce() 291 unsigned int rx_riwt; in sxgbe_set_coalesce() local 296 rx_riwt = sxgbe_usec2riwt(ec->rx_coalesce_usecs, priv); in sxgbe_set_coalesce() 298 if ((rx_riwt > SXGBE_MAX_DMA_RIWT) || (rx_riwt < SXGBE_MIN_DMA_RIWT)) in sxgbe_set_coalesce() 303 priv->rx_riwt = rx_riwt; in sxgbe_set_coalesce() 304 priv->hw->dma->rx_watchdog(priv->ioaddr, priv->rx_riwt); in sxgbe_set_coalesce()
|
D | sxgbe_common.h | 401 u32 rx_riwt; member 461 u32 rx_riwt; member
|
D | sxgbe_main.c | 1176 priv->rx_riwt = SXGBE_MAX_DMA_RIWT; in sxgbe_open()
|
/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ethtool.c | 455 unsigned int rx_frames, rx_riwt, rx_usecs; in xgbe_set_coalesce() local 458 rx_riwt = hw_if->usec_to_riwt(pdata, ec->rx_coalesce_usecs); in xgbe_set_coalesce() 463 if (rx_usecs && !rx_riwt) in xgbe_set_coalesce() 464 rx_riwt = 1; in xgbe_set_coalesce() 467 if (rx_riwt > XGMAC_MAX_DMA_RIWT) { in xgbe_set_coalesce() 487 pdata->rx_riwt = rx_riwt; in xgbe_set_coalesce()
|
D | xgbe.h | 1150 unsigned int rx_riwt; member
|
D | xgbe-drv.c | 1118 pdata->rx_riwt = hw_if->usec_to_riwt(pdata, XGMAC_INIT_DMA_RX_USECS); in xgbe_init_rx_coalesce()
|
D | xgbe-dev.c | 273 pdata->rx_riwt); in xgbe_config_rx_coalesce()
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_ethtool.c | 780 ec->rx_coalesce_usecs = stmmac_riwt2usec(priv->rx_riwt, priv); in stmmac_get_coalesce() 791 unsigned int rx_riwt; in stmmac_set_coalesce() local 794 rx_riwt = stmmac_usec2riwt(ec->rx_coalesce_usecs, priv); in stmmac_set_coalesce() 796 if ((rx_riwt > MAX_DMA_RIWT) || (rx_riwt < MIN_DMA_RIWT)) in stmmac_set_coalesce() 799 priv->rx_riwt = rx_riwt; in stmmac_set_coalesce() 800 stmmac_rx_watchdog(priv, priv->ioaddr, priv->rx_riwt, rx_cnt); in stmmac_set_coalesce()
|
D | stmmac.h | 162 u32 rx_riwt; member
|
D | stmmac_main.c | 2787 if (!priv->rx_riwt) in stmmac_hw_setup() 2788 priv->rx_riwt = DEF_DMA_RIWT; in stmmac_hw_setup() 2790 ret = stmmac_rx_watchdog(priv, priv->ioaddr, priv->rx_riwt, rx_cnt); in stmmac_hw_setup()
|