Home
last modified time | relevance | path

Searched refs:MDC_MAX_FREQ (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.h397 #define MDC_MAX_FREQ 25000000 macro
Dmtk_eth_soc.c861 if (val > MDC_MAX_FREQ || val < MDC_MAX_FREQ / MDC_MAX_DIVIDER) { in mtk_mdio_init()
868 divider = min_t(unsigned int, DIV_ROUND_UP(MDC_MAX_FREQ, max_clk), 63); in mtk_mdio_init()
880 dev_dbg(eth->dev, "MDC is running on %d Hz\n", MDC_MAX_FREQ / divider); in mtk_mdio_init()