Searched refs:old_freq (Results 1 – 10 of 10) sorted by relevance
/drivers/cpufreq/ |
D | at32ap-cpufreq.c | 31 unsigned int old_freq, new_freq; in at32_set_target() local 33 old_freq = policy->cur; in at32_set_target() 37 ref_freq = old_freq; in at32_set_target() 41 if (old_freq < new_freq) in at32_set_target() 45 if (new_freq < old_freq) in at32_set_target()
|
D | omap-cpufreq.c | 50 unsigned int old_freq, new_freq; in omap_target() local 52 old_freq = policy->cur; in omap_target() 81 old_freq / 1000, volt_old ? volt_old / 1000 : -1, in omap_target() 85 if (mpu_reg && (new_freq > old_freq)) { in omap_target() 97 if (mpu_reg && (new_freq < old_freq)) { in omap_target() 102 clk_set_rate(policy->clk, old_freq * 1000); in omap_target()
|
D | s3c64xx-cpufreq.c | 60 unsigned int old_freq, new_freq; in s3c64xx_cpufreq_set_target() local 63 old_freq = clk_get_rate(policy->clk) / 1000; in s3c64xx_cpufreq_set_target() 68 if (vddarm && new_freq > old_freq) { in s3c64xx_cpufreq_set_target() 88 if (vddarm && new_freq < old_freq) { in s3c64xx_cpufreq_set_target() 95 if (clk_set_rate(policy->clk, old_freq * 1000) < 0) in s3c64xx_cpufreq_set_target()
|
D | davinci-cpufreq.c | 45 unsigned int old_freq, new_freq; in davinci_target() local 48 old_freq = policy->cur; in davinci_target() 52 if (pdata->set_voltage && new_freq > old_freq) { in davinci_target() 69 if (pdata->set_voltage && new_freq < old_freq) in davinci_target()
|
D | blackfin-cpufreq.c | 137 unsigned int old_freq, new_freq; in bfin_target() local 144 old_freq = bfin_getfreq_khz(0); in bfin_target() 167 lpj_ref_freq = old_freq; in bfin_target() 169 if (new_freq != old_freq) { in bfin_target()
|
D | imx6q-cpufreq.c | 49 unsigned int old_freq, new_freq; in imx6q_set_target() local 54 old_freq = clk_get_rate(arm_clk) / 1000; in imx6q_set_target() 69 old_freq / 1000, volt_old / 1000, in imx6q_set_target() 73 if (new_freq > old_freq) { in imx6q_set_target() 113 clk_set_rate(arm_clk, (old_freq >> 1) * 1000); in imx6q_set_target() 139 if (new_freq < old_freq) { in imx6q_set_target()
|
D | s5pv210-cpufreq.c | 232 unsigned int old_freq, new_freq; in s5pv210_target() local 245 old_freq = policy->cur; in s5pv210_target() 249 priv_index = cpufreq_table_find_index_h(policy, old_freq); in s5pv210_target() 254 if (new_freq > old_freq) { in s5pv210_target() 476 if (new_freq < old_freq) { in s5pv210_target()
|
D | loongson1-cpufreq.c | 52 unsigned int old_freq, new_freq; in ls1x_cpufreq_target() local 54 old_freq = policy->cur; in ls1x_cpufreq_target() 73 dev_dbg(cpu_dev, "%u KHz --> %u KHz\n", old_freq, new_freq); in ls1x_cpufreq_target()
|
/drivers/devfreq/ |
D | exynos-bus.c | 102 unsigned long old_freq, new_freq, old_volt, new_volt, tol; in exynos_bus_target() local 116 old_freq = dev_pm_opp_get_freq(bus->curr_opp); in exynos_bus_target() 120 if (old_freq == new_freq) in exynos_bus_target() 127 if (old_freq < new_freq) { in exynos_bus_target() 138 clk_set_rate(bus->clk, old_freq); in exynos_bus_target() 142 if (old_freq > new_freq) { in exynos_bus_target() 152 old_freq/1000, new_freq/1000); in exynos_bus_target() 216 unsigned long old_freq, new_freq; in exynos_bus_passive_target() local 229 old_freq = dev_pm_opp_get_freq(bus->curr_opp); in exynos_bus_passive_target() 232 if (old_freq == new_freq) in exynos_bus_passive_target() [all …]
|
/drivers/base/power/opp/ |
D | core.c | 585 unsigned long freq, old_freq; in dev_pm_opp_set_rate() local 604 old_freq = clk_get_rate(clk); in dev_pm_opp_set_rate() 607 if (old_freq == freq) { in dev_pm_opp_set_rate() 622 old_opp = _find_freq_ceil(opp_table, &old_freq); in dev_pm_opp_set_rate() 625 __func__, old_freq, PTR_ERR(old_opp)); in dev_pm_opp_set_rate() 654 if (freq > old_freq) { in dev_pm_opp_set_rate() 664 __func__, old_freq, freq); in dev_pm_opp_set_rate() 674 if (freq < old_freq) { in dev_pm_opp_set_rate() 684 if (clk_set_rate(clk, old_freq)) in dev_pm_opp_set_rate() 686 __func__, old_freq); in dev_pm_opp_set_rate()
|