Searched refs:mg_core_clk (Results 1 – 3 of 3) sorted by relevance
258 struct clk *mg_core_clk; member940 priv->mg_core_clk = devm_clk_get(priv->dev, "mg_core_clk"); in mvebu_comphy_init_clks()941 if (IS_ERR(priv->mg_core_clk)) { in mvebu_comphy_init_clks()942 ret = PTR_ERR(priv->mg_core_clk); in mvebu_comphy_init_clks()946 ret = clk_prepare_enable(priv->mg_core_clk); in mvebu_comphy_init_clks()963 clk_disable_unprepare(priv->mg_core_clk); in mvebu_comphy_init_clks()969 priv->mg_core_clk = NULL; in mvebu_comphy_init_clks()980 if (priv->mg_core_clk) in mvebu_comphy_disable_unprepare_clks()981 clk_disable_unprepare(priv->mg_core_clk); in mvebu_comphy_disable_unprepare_clks()
1051 struct clk *mg_core_clk; member
7538 priv->mg_core_clk = devm_clk_get_optional(&pdev->dev, "mg_core_clk"); in mvpp2_probe()7539 if (IS_ERR(priv->mg_core_clk)) { in mvpp2_probe()7540 err = PTR_ERR(priv->mg_core_clk); in mvpp2_probe()7544 err = clk_prepare_enable(priv->mg_core_clk); in mvpp2_probe()7657 clk_disable_unprepare(priv->mg_core_clk); in mvpp2_probe()7708 clk_disable_unprepare(priv->mg_core_clk); in mvpp2_remove()