Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/dsa/
Dbcm_sf2.c145 if (ports_active == 0 || !priv->clk_mdiv) in bcm_sf2_recalc_clock()
155 clk_set_rate(priv->clk_mdiv, new_rate); in bcm_sf2_recalc_clock()
1464 priv->clk_mdiv = devm_clk_get_optional(&pdev->dev, "sw_switch_mdiv"); in bcm_sf2_sw_probe()
1465 if (IS_ERR(priv->clk_mdiv)) { in bcm_sf2_sw_probe()
1466 ret = PTR_ERR(priv->clk_mdiv); in bcm_sf2_sw_probe()
1470 ret = clk_prepare_enable(priv->clk_mdiv); in bcm_sf2_sw_probe()
1555 clk_disable_unprepare(priv->clk_mdiv); in bcm_sf2_sw_probe()
1574 clk_disable_unprepare(priv->clk_mdiv); in bcm_sf2_sw_remove()
Dbcm_sf2.h100 struct clk *clk_mdiv; member