Searched refs:clk_mdiv (Results 1 – 2 of 2) sorted by relevance
145 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()1451 priv->clk_mdiv = devm_clk_get_optional(&pdev->dev, "sw_switch_mdiv"); in bcm_sf2_sw_probe()1452 if (IS_ERR(priv->clk_mdiv)) { in bcm_sf2_sw_probe()1453 ret = PTR_ERR(priv->clk_mdiv); in bcm_sf2_sw_probe()1457 ret = clk_prepare_enable(priv->clk_mdiv); in bcm_sf2_sw_probe()1542 clk_disable_unprepare(priv->clk_mdiv); in bcm_sf2_sw_probe()1561 clk_disable_unprepare(priv->clk_mdiv); in bcm_sf2_sw_remove()
100 struct clk *clk_mdiv; member