Home
last modified time | relevance | path

Searched refs:cpu_cur (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/cpufreq/
Ds3c24xx-cpufreq.c32 static struct s3c_cpufreq_config cpu_cur; variable
49 return &cpu_cur; in s3c_cpufreq_getconfig()
156 cpu_new = cpu_cur; /* copy new from current */ in s3c_cpufreq_settarget()
158 s3c_cpufreq_show("cur", &cpu_cur); in s3c_cpufreq_settarget()
162 cpu_new.pll = pll ? *pll : cpu_cur.pll; in s3c_cpufreq_settarget()
183 if (cpu_new.freq.hclk != cpu_cur.freq.hclk) { in s3c_cpufreq_settarget()
194 freqs.old = cpu_cur.freq; in s3c_cpufreq_settarget()
197 freqs.freqs.old = cpu_cur.freq.armclk / 1000; in s3c_cpufreq_settarget()
219 if (cpu_new.freq.hclk < cpu_cur.freq.hclk) { in s3c_cpufreq_settarget()
224 if (cpu_new.freq.fclk == cpu_cur.freq.fclk) { in s3c_cpufreq_settarget()
[all …]
/linux-6.1.9/drivers/devfreq/
Dgovernor_passive.c84 unsigned long cpu, cpu_cur, cpu_min, cpu_max, cpu_percent; in get_target_freq_with_cpufreq() local
103 cpu_cur = parent_cpu_data->cur_freq * HZ_PER_KHZ; in get_target_freq_with_cpufreq()
106 devfreq->opp_table, &cpu_cur); in get_target_freq_with_cpufreq()
118 cpu_cur = parent_cpu_data->cur_freq; in get_target_freq_with_cpufreq()
120 cpu_percent = ((cpu_cur - cpu_min) * 100) / (cpu_max - cpu_min); in get_target_freq_with_cpufreq()