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

/drivers/cpufreq/
H A Dat32ap-cpufreq.c31 unsigned int old_freq, new_freq; local
33 old_freq = policy->cur;
37 ref_freq = old_freq;
41 if (old_freq < new_freq)
45 if (new_freq < old_freq)
H A Dexynos-cpufreq.c51 unsigned int old_freq; local
55 old_freq = policy->cur;
62 old_index = exynos_cpufreq_get_index(old_freq);
88 if ((target_freq > old_freq) && !safe_arm_volt) {
111 if ((target_freq < old_freq) ||
112 ((target_freq > old_freq) && safe_arm_volt)) {
H A Domap-cpufreq.c47 unsigned int old_freq, new_freq; local
49 old_freq = policy->cur;
78 old_freq / 1000, volt_old ? volt_old / 1000 : -1,
82 if (mpu_reg && (new_freq > old_freq)) {
94 if (mpu_reg && (new_freq < old_freq)) {
99 clk_set_rate(policy->clk, old_freq * 1000);
H A Ds3c64xx-cpufreq.c60 unsigned int old_freq, new_freq; local
63 old_freq = clk_get_rate(policy->clk) / 1000;
68 if (vddarm && new_freq > old_freq) {
88 if (vddarm && new_freq < old_freq) {
95 if (clk_set_rate(policy->clk, old_freq * 1000) < 0)
H A Dblackfin-cpufreq.c137 unsigned int old_freq, new_freq; local
144 old_freq = bfin_getfreq_khz(0);
167 lpj_ref_freq = old_freq;
169 if (new_freq != old_freq) {
H A Ddavinci-cpufreq.c65 unsigned int old_freq, new_freq; local
68 old_freq = policy->cur;
72 if (pdata->set_voltage && new_freq > old_freq) {
89 if (pdata->set_voltage && new_freq < old_freq)
H A Dcpufreq-dt.c48 unsigned int old_freq, new_freq; local
58 old_freq = clk_get_rate(cpu_clk) / 1000;
76 old_freq / 1000, volt_old ? volt_old / 1000 : -1,
80 if (!IS_ERR(cpu_reg) && new_freq > old_freq) {
98 if (!IS_ERR(cpu_reg) && new_freq < old_freq) {
103 clk_set_rate(cpu_clk, old_freq * 1000);
H A Dimx6q-cpufreq.c44 unsigned int old_freq, new_freq; local
49 old_freq = clk_get_rate(arm_clk) / 1000;
64 old_freq / 1000, volt_old / 1000,
68 if (new_freq > old_freq) {
114 if (new_freq < old_freq) {
H A Ds5pv210-cpufreq.c230 unsigned int old_freq, new_freq; local
243 old_freq = policy->cur;
248 old_freq, CPUFREQ_RELATION_H,
257 if (new_freq > old_freq) {
479 if (new_freq < old_freq) {
H A Dcpufreq.c1507 * @old_freq: CPU frequency the kernel thinks the CPU runs at
1513 static void cpufreq_out_of_sync(unsigned int cpu, unsigned int old_freq, argument
1521 old_freq, new_freq);
1523 freqs.old = old_freq;
/drivers/devfreq/exynos/
H A Dexynos5_bus.c92 unsigned long old_freq, freq; local
107 old_freq = data->curr_freq;
109 if (old_freq == freq)
124 if (old_freq < freq)
134 if (old_freq > freq)
H A Dexynos4_bus.c574 unsigned long old_freq = data->curr_oppinfo.rate; local
588 if (old_freq == freq)
598 if (old_freq < freq)
604 if (old_freq != freq) {
619 if (old_freq > freq)

Completed in 234 milliseconds