Searched refs:rx_riwt (Results 1 – 14 of 14) sorted by relevance
/Linux-v6.1/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac-ethtool.c | 172 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()
|
D | dwc-xlgmac.h | 592 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()
|
/Linux-v6.1/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_ethtool.c | 284 ec->rx_coalesce_usecs = sxgbe_riwt2usec(priv->rx_riwt, priv); in sxgbe_get_coalesce() 295 unsigned int rx_riwt; in sxgbe_set_coalesce() local 300 rx_riwt = sxgbe_usec2riwt(ec->rx_coalesce_usecs, priv); in sxgbe_set_coalesce() 302 if ((rx_riwt > SXGBE_MAX_DMA_RIWT) || (rx_riwt < SXGBE_MIN_DMA_RIWT)) in sxgbe_set_coalesce() 307 priv->rx_riwt = rx_riwt; in sxgbe_set_coalesce() 308 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 | 1179 priv->rx_riwt = SXGBE_MAX_DMA_RIWT; in sxgbe_open()
|
/Linux-v6.1/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_ethtool.c | 876 ec->rx_coalesce_usecs = stmmac_riwt2usec(priv->rx_riwt[queue], in __stmmac_get_coalesce() 906 unsigned int rx_riwt; in __stmmac_set_coalesce() local 921 rx_riwt = stmmac_usec2riwt(ec->rx_coalesce_usecs, priv); in __stmmac_set_coalesce() 923 if ((rx_riwt > MAX_DMA_RIWT) || (rx_riwt < MIN_DMA_RIWT)) in __stmmac_set_coalesce() 930 priv->rx_riwt[i] = rx_riwt; in __stmmac_set_coalesce() 932 rx_riwt, i); in __stmmac_set_coalesce() 937 priv->rx_riwt[queue] = rx_riwt; in __stmmac_set_coalesce() 939 rx_riwt, queue); in __stmmac_set_coalesce()
|
D | stmmac.h | 217 u32 rx_riwt[MTL_MAX_TX_QUEUES]; member
|
D | stmmac_main.c | 3356 if (!priv->rx_riwt[queue]) in stmmac_hw_setup() 3357 priv->rx_riwt[queue] = DEF_DMA_RIWT; in stmmac_hw_setup() 3360 priv->rx_riwt[queue], queue); in stmmac_hw_setup()
|
/Linux-v6.1/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ethtool.c | 452 unsigned int rx_frames, rx_riwt, rx_usecs; in xgbe_set_coalesce() local 455 rx_riwt = hw_if->usec_to_riwt(pdata, ec->rx_coalesce_usecs); in xgbe_set_coalesce() 460 if (rx_usecs && !rx_riwt) in xgbe_set_coalesce() 461 rx_riwt = 1; in xgbe_set_coalesce() 464 if (rx_riwt > XGMAC_MAX_DMA_RIWT) { in xgbe_set_coalesce() 484 pdata->rx_riwt = rx_riwt; in xgbe_set_coalesce()
|
D | xgbe.h | 1176 unsigned int rx_riwt; member
|
D | xgbe-drv.c | 1101 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()
|