Lines Matching refs:cpu_clk
30 struct clk *cpu_clk; member
42 ret = clk_set_rate(priv->dfll_clk, clk_get_rate(priv->cpu_clk)); in tegra124_cpu_switch_to_dfll()
46 orig_parent = clk_get_parent(priv->cpu_clk); in tegra124_cpu_switch_to_dfll()
47 clk_set_parent(priv->cpu_clk, priv->pllp_clk); in tegra124_cpu_switch_to_dfll()
53 clk_set_parent(priv->cpu_clk, priv->dfll_clk); in tegra124_cpu_switch_to_dfll()
58 clk_set_parent(priv->cpu_clk, orig_parent); in tegra124_cpu_switch_to_dfll()
65 clk_set_parent(priv->cpu_clk, priv->pllp_clk); in tegra124_cpu_switch_to_pllx()
68 clk_set_parent(priv->cpu_clk, priv->pllx_clk); in tegra124_cpu_switch_to_pllx()
97 priv->cpu_clk = of_clk_get_by_name(np, "cpu_g"); in tegra124_cpufreq_probe()
98 if (IS_ERR(priv->cpu_clk)) { in tegra124_cpufreq_probe()
99 ret = PTR_ERR(priv->cpu_clk); in tegra124_cpufreq_probe()
148 clk_put(priv->cpu_clk); in tegra124_cpufreq_probe()
167 clk_put(priv->cpu_clk); in tegra124_cpufreq_remove()