Home
last modified time | relevance | path

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

/openbmc/linux/drivers/cpufreq/
H A Dtegra124-cpufreq.c23 struct clk *dfll_clk; member
39 ret = clk_prepare_enable(priv->dfll_clk); in tegra124_cpu_switch_to_dfll()
43 clk_set_parent(priv->cpu_clk, priv->dfll_clk); in tegra124_cpu_switch_to_dfll()
79 priv->dfll_clk = of_clk_get_by_name(np, "dfll"); in tegra124_cpufreq_probe()
80 if (IS_ERR(priv->dfll_clk)) { in tegra124_cpufreq_probe()
81 ret = PTR_ERR(priv->dfll_clk); in tegra124_cpufreq_probe()
122 clk_put(priv->dfll_clk); in tegra124_cpufreq_probe()
147 clk_disable_unprepare(priv->dfll_clk); in tegra124_cpufreq_suspend()
161 err = clk_prepare_enable(priv->dfll_clk); in tegra124_cpufreq_resume()
167 err = clk_set_parent(priv->cpu_clk, priv->dfll_clk); in tegra124_cpufreq_resume()
[all …]
/openbmc/linux/drivers/clk/tegra/
H A Dclk-dfll.c273 struct clk *dfll_clk; member
1187 td->dfll_clk = clk_register(td->dev, &td->dfll_clk_hw); in dfll_register_clk()
1188 if (IS_ERR(td->dfll_clk)) { in dfll_register_clk()
1194 td->dfll_clk); in dfll_register_clk()
1198 clk_unregister(td->dfll_clk); in dfll_register_clk()
1215 clk_unregister(td->dfll_clk); in dfll_unregister_clk()
1216 td->dfll_clk = NULL; in dfll_unregister_clk()