Lines Matching +full:turbo +full:- +full:mode
1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * 31-Jul-2002 : Initial version [FB]
7 * 29-Jan-2003 : added PXA255 support [FB]
8 * 20-Apr-2003 : ported to v2.5 (Dustin McIntire, Sensoria Corp.)
29 #include <mach/pxa2xx-regs.h>
63 /* CPU MEMBUS run turbo PXbus SDRAM */
64 { 99500, -1, -1}, /* 99, 99, 50, 50 */
65 {132700, -1, -1}, /* 133, 133, 66, 66 */
66 {199100, -1, -1}, /* 199, 199, 99, 99 */
67 {265400, -1, -1}, /* 265, 265, 133, 66 */
68 {331800, -1, -1}, /* 331, 331, 166, 83 */
69 {398100, -1, -1}, /* 398, 398, 196, 99 */
72 /* Use the turbo mode frequencies for the CPUFREQ_POLICY_POWERSAVE policy */
75 /* CPU run turbo PXbus SDRAM */
76 { 99500, -1, -1}, /* 99, 99, 50, 50 */
77 {199100, -1, -1}, /* 99, 199, 50, 99 */
78 {298500, -1, -1}, /* 99, 287, 50, 99 */
79 {298600, -1, -1}, /* 199, 287, 99, 99 */
80 {398100, -1, -1}, /* 199, 398, 99, 99 */
93 MODULE_PARM_DESC(pxa255_turbo_table, "Selects the frequency table (0 = run table, !0 = turbo table)…
121 vmin = pxa_freq->vmin; in pxa_cpufreq_change_voltage()
122 vmax = pxa_freq->vmax; in pxa_cpufreq_change_voltage()
123 if ((vmin == -1) || (vmax == -1)) in pxa_cpufreq_change_voltage()
185 return (unsigned int) clk_get_rate(data->clk_core) / 1000; in pxa_cpufreq_get()
203 policy->cur / 1000, new_freq_cpu / 1000); in pxa_set_target()
205 if (vcc_core && new_freq_cpu > policy->cur) { in pxa_set_target()
211 clk_set_rate(data->clk_core, new_freq_cpu * 1000); in pxa_set_target()
222 if (vcc_core && new_freq_cpu < policy->cur) in pxa_set_target()
242 policy->cpuinfo.transition_latency = 1000; /* FIXME: 1 ms, assumed */ in pxa_cpufreq_init()
251 /* Generate pxa25x the turbo cpufreq_frequency_table struct */ in pxa_cpufreq_init()
279 pxa255_turbo_table ? "turbo" : "run"); in pxa_cpufreq_init()
281 policy->freq_table = pxa255_freq_table; in pxa_cpufreq_init()
284 policy->freq_table = pxa27x_freq_table; in pxa_cpufreq_init()
304 int ret = -ENODEV; in pxa_cpu_init()