Home
last modified time | relevance | path

Searched refs:cpu_freq (Results 1 – 8 of 8) sorted by relevance

/drivers/clk/mvebu/
Dmv98dx3236.c70 u32 cpu_freq = 0; in mv98dx3236_get_cpu_freq() local
77 cpu_freq = mv98dx4251_cpu_frequencies[cpu_freq_select]; in mv98dx3236_get_cpu_freq()
79 cpu_freq = mv98dx3236_cpu_frequencies[cpu_freq_select]; in mv98dx3236_get_cpu_freq()
81 if (!cpu_freq) in mv98dx3236_get_cpu_freq()
84 return cpu_freq; in mv98dx3236_get_cpu_freq()
Darmada-370.c66 u32 cpu_freq; in a370_get_cpu_freq() local
73 cpu_freq = 0; in a370_get_cpu_freq()
75 cpu_freq = a370_cpu_freqs[cpu_freq_select]; in a370_get_cpu_freq()
77 return cpu_freq; in a370_get_cpu_freq()
Darmada-xp.c76 u32 cpu_freq; in axp_get_cpu_freq() local
89 cpu_freq = 0; in axp_get_cpu_freq()
91 cpu_freq = axp_cpu_freqs[cpu_freq_select]; in axp_get_cpu_freq()
93 return cpu_freq; in axp_get_cpu_freq()
/drivers/clk/imgtec/
Dclk-boston.c33 unsigned long in_freq, cpu_freq, sys_freq; in clk_boston_setup() local
59 cpu_freq = mult_frac(in_freq, mul, cpu_div); in clk_boston_setup()
83 hw = clk_hw_register_fixed_rate(NULL, "cpu", "input", 0, cpu_freq); in clk_boston_setup()
/drivers/cpufreq/
Dloongson2_cpufreq.c144 u32 cpu_freq; in loongson2_cpu_wait() local
147 cpu_freq = LOONGSON_CHIPCFG(0); in loongson2_cpu_wait()
149 LOONGSON_CHIPCFG(0) = cpu_freq; /* Restore CPU state */ in loongson2_cpu_wait()
Dbmips-cpufreq.c69 unsigned long cpu_freq; in bmips_cpufreq_get_freq_table() local
72 cpu_freq = htp_freq_to_cpu_freq(priv->clk_mult); in bmips_cpufreq_get_freq_table()
79 table[i].frequency = cpu_freq / (1 << i); in bmips_cpufreq_get_freq_table()
Darm_big_little.c87 u32 max_freq = 0, cpu_freq; in find_cluster_maxfreq() local
90 cpu_freq = per_cpu(cpu_last_req_freq, j); in find_cluster_maxfreq()
93 (max_freq < cpu_freq)) in find_cluster_maxfreq()
94 max_freq = cpu_freq; in find_cluster_maxfreq()
/drivers/devfreq/
Dtegra30-devfreq.c167 unsigned long cpu_freq; member
294 unsigned long cpu_freq) in actmon_cpu_to_emc_rate() argument
300 if (cpu_freq >= ratio->cpu_freq) { in actmon_cpu_to_emc_rate()
314 unsigned long cpu_freq = 0; in actmon_update_target() local
319 cpu_freq = cpufreq_get(0); in actmon_update_target()
320 static_cpu_emc_freq = actmon_cpu_to_emc_rate(tegra, cpu_freq); in actmon_update_target()