Searched refs:powersave_clk (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/cpufreq/
H A Dkirkwood-cpufreq.c27 struct clk *powersave_clk; member in struct:priv
51 return clk_get_rate(priv.powersave_clk) / 1000; kirkwood_cpufreq_get_cpu_frequency()
69 clk_set_parent(priv.powersave_clk, priv.cpu_clk); kirkwood_cpufreq_target()
72 clk_set_parent(priv.powersave_clk, priv.ddr_clk); kirkwood_cpufreq_target()
143 priv.powersave_clk = of_clk_get_by_name(np, "powersave"); kirkwood_cpufreq_probe()
144 if (IS_ERR(priv.powersave_clk)) { kirkwood_cpufreq_probe()
146 err = PTR_ERR(priv.powersave_clk); kirkwood_cpufreq_probe()
149 clk_prepare_enable(priv.powersave_clk); kirkwood_cpufreq_probe()
160 clk_disable_unprepare(priv.powersave_clk); kirkwood_cpufreq_probe()
174 clk_disable_unprepare(priv.powersave_clk); kirkwood_cpufreq_remove()

Completed in 61 milliseconds