Home
last modified time | relevance | path

Searched refs:newfreq (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/cpufreq/
Dspear-cpufreq.c34 static struct clk *spear1340_cpu_get_possible_parent(unsigned long newfreq) in spear1340_cpu_get_possible_parent() argument
53 if (newfreq <= 300000000) in spear1340_cpu_get_possible_parent()
55 else if (newfreq > 300000000 && newfreq <= 500000000) in spear1340_cpu_get_possible_parent()
57 else if (newfreq == 600000000) in spear1340_cpu_get_possible_parent()
76 static int spear1340_set_cpu_rate(struct clk *sys_pclk, unsigned long newfreq) in spear1340_set_cpu_rate() argument
88 ret = clk_set_rate(sys_pclk, newfreq); in spear1340_set_cpu_rate()
90 pr_err("Failed to set sys clk rate to %lu\n", newfreq); in spear1340_set_cpu_rate()
106 long newfreq; in spear_cpufreq_target() local
110 newfreq = spear_cpufreq.freq_tbl[index].frequency * 1000; in spear_cpufreq_target()
120 srcclk = spear1340_cpu_get_possible_parent(newfreq); in spear_cpufreq_target()
[all …]
Dimx-cpufreq-dt.c64 unsigned int newfreq = policy->freq_table[index].frequency; in imx7ulp_target_intermediate() local
69 if (newfreq > IMX7ULP_MAX_RUN_FREQ) in imx7ulp_target_intermediate()
Dcpufreq.c2259 unsigned int newfreq = policy->freq_table[index].frequency; in __target_index() local
2263 if (newfreq == policy->cur) in __target_index()
2283 freqs.new = newfreq; in __target_index()