Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/marvell/
Dmvmdio.c238 struct clk *mg_core; in orion_mdio_xsmi_set_mdc_freq() local
244 mg_core = of_clk_get_by_name(bus->parent->of_node, "mg_core_clk"); in orion_mdio_xsmi_set_mdc_freq()
245 if (IS_ERR(mg_core)) { in orion_mdio_xsmi_set_mdc_freq()
251 div = clk_get_rate(mg_core) / (freq + 1) + 1; in orion_mdio_xsmi_set_mdc_freq()
252 clk_put(mg_core); in orion_mdio_xsmi_set_mdc_freq()