Lines Matching +full:- +full:312
1 // SPDX-License-Identifier: GPL-2.0-or-later
45 #define ACCR_HSS_MASK (0x3 << 14) /* System Bus-Clock Frequency Select */
47 #define ACCR_XN_MASK (0x7 << 8) /* Core PLL Turbo-Mode-to-Run-Mode Ratio */
48 #define ACCR_XL_MASK (0x1f) /* Core PLL Run-Mode-to-Oscillator Ratio */
91 OP(624, 24, 2, 208, 260, 208, 312, 3, 1375, 1400), /* 624MHz */
99 OP(624, 24, 2, 208, 260, 208, 312, 3, 1375, 1400), /* 624MHz */
100 OP(806, 31, 2, 208, 260, 208, 312, 3, 1400, 1400), /* 806MHz */
115 return -ENOMEM; in setup_freqs_table()
128 policy->freq_table = table; in setup_freqs_table()
139 enable = ACCR_XN(info->core_xn) | ACCR_XL(info->core_xl); in __update_core_freq()
140 /* No clock until core PLL is re-locked */ in __update_core_freq()
142 xclkcfg = (info->core_xn == 2) ? 0x3 : 0x2; /* turbo bit */ in __update_core_freq()
154 enable = ACCR_SMCFS(info->smcfs) | ACCR_SFLFS(info->sflfs) | in __update_bus_freq()
155 ACCR_HSS(info->hss) | ACCR_DMCFS(info->dmcfs); in __update_bus_freq()
170 if (policy->cpu != 0) in pxa3xx_cpufreq_set()
171 return -EINVAL; in pxa3xx_cpufreq_set()
185 int ret = -EINVAL; in pxa3xx_cpufreq_init()
188 policy->min = policy->cpuinfo.min_freq = 104000; in pxa3xx_cpufreq_init()
189 policy->max = policy->cpuinfo.max_freq = in pxa3xx_cpufreq_init()
191 policy->cpuinfo.transition_latency = 1000; /* FIXME: 1 ms, assumed */ in pxa3xx_cpufreq_init()
216 .name = "pxa3xx-cpufreq",