Searched refs:old_freq (Results 1 – 6 of 6) sorted by relevance
/linux-4.19.296/drivers/cpufreq/ |
D | omap-cpufreq.c | 50 unsigned int old_freq, new_freq; in omap_target() local 52 old_freq = policy->cur; in omap_target() 79 old_freq / 1000, volt_old ? volt_old / 1000 : -1, in omap_target() 83 if (mpu_reg && (new_freq > old_freq)) { in omap_target() 95 if (mpu_reg && (new_freq < old_freq)) { in omap_target() 100 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 | imx6q-cpufreq.c | 68 unsigned int old_freq, new_freq; in imx6q_set_target() local 74 old_freq = clk_get_rate(clks[ARM].clk) / 1000; in imx6q_set_target() 88 old_freq / 1000, volt_old / 1000, in imx6q_set_target() 92 if (new_freq > old_freq) { in imx6q_set_target() 133 clk_set_rate(clks[ARM].clk, (old_freq >> 1) * 1000); in imx6q_set_target() 178 if (new_freq < old_freq) { in imx6q_set_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()
|
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()
|