Home
last modified time | relevance | path

Searched refs:old_freq (Results 1 – 8 of 8) sorted by relevance

/drivers/cpufreq/
Domap-cpufreq.c47 unsigned int old_freq, new_freq; in omap_target() local
49 old_freq = policy->cur; in omap_target()
76 old_freq / 1000, volt_old ? volt_old / 1000 : -1, in omap_target()
80 if (mpu_reg && (new_freq > old_freq)) { in omap_target()
92 if (mpu_reg && (new_freq < old_freq)) { in omap_target()
97 clk_set_rate(policy->clk, old_freq * 1000); in omap_target()
Ds3c64xx-cpufreq.c55 unsigned int old_freq, new_freq; in s3c64xx_cpufreq_set_target() local
58 old_freq = clk_get_rate(policy->clk) / 1000; in s3c64xx_cpufreq_set_target()
63 if (vddarm && new_freq > old_freq) { in s3c64xx_cpufreq_set_target()
83 if (vddarm && new_freq < old_freq) { in s3c64xx_cpufreq_set_target()
90 if (clk_set_rate(policy->clk, old_freq * 1000) < 0) in s3c64xx_cpufreq_set_target()
Ddavinci-cpufreq.c39 unsigned int old_freq, new_freq; in davinci_target() local
42 old_freq = policy->cur; in davinci_target()
46 if (pdata->set_voltage && new_freq > old_freq) { in davinci_target()
63 if (pdata->set_voltage && new_freq < old_freq) in davinci_target()
Dimx6q-cpufreq.c62 unsigned int old_freq, new_freq; in imx6q_set_target() local
68 old_freq = clk_get_rate(clks[ARM].clk) / 1000; in imx6q_set_target()
82 old_freq / 1000, volt_old / 1000, in imx6q_set_target()
86 if (new_freq > old_freq) { in imx6q_set_target()
127 clk_set_rate(clks[ARM].clk, (old_freq >> 1) * 1000); in imx6q_set_target()
172 if (new_freq < old_freq) { in imx6q_set_target()
Ds5pv210-cpufreq.c229 unsigned int old_freq, new_freq; in s5pv210_target() local
242 old_freq = policy->cur; in s5pv210_target()
246 priv_index = cpufreq_table_find_index_h(policy, old_freq, false); in s5pv210_target()
251 if (new_freq > old_freq) { in s5pv210_target()
473 if (new_freq < old_freq) { in s5pv210_target()
Dcpufreq.c1536 unsigned int old_freq = policy->cur; in cpufreq_online() local
1539 ret = cpufreq_frequency_table_get_index(policy, old_freq); in cpufreq_online()
1541 ret = __cpufreq_driver_target(policy, old_freq - 1, in cpufreq_online()
1551 __func__, policy->cpu, old_freq, policy->cur); in cpufreq_online()
/drivers/devfreq/
Dimx8m-ddrc.c235 unsigned long old_freq, new_freq; in imx8m_ddrc_target() local
246 old_freq = clk_get_rate(priv->dram_core); in imx8m_ddrc_target()
247 if (*freq == old_freq) in imx8m_ddrc_target()
263 *freq, old_freq, ret, new_freq); in imx8m_ddrc_target()
266 *freq, old_freq, new_freq); in imx8m_ddrc_target()
269 *freq, old_freq); in imx8m_ddrc_target()
/drivers/opp/
Dti-opp-supply.c284 unsigned long old_freq, freq; in ti_opp_config_regulators() local
295 old_freq = dev_pm_opp_get_freq(old_opp); in ti_opp_config_regulators()
297 WARN_ON(!old_freq || !freq); in ti_opp_config_regulators()
306 if (freq > old_freq) { in ti_opp_config_regulators()