Home
last modified time | relevance | path

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

/drivers/phy/marvell/
Dphy-mvebu-cp110-comphy.c258 struct clk *mg_core_clk; member
940 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()
/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2.h1051 struct clk *mg_core_clk; member
Dmvpp2_main.c7538 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()