Lines Matching +full:use +full:- +full:case
1 // SPDX-License-Identifier: GPL-2.0-or-later
24 #include <asm/cpu-features.h>
25 #include <asm/cpu-type.h>
40 struct cpumask *cpus = freq->policy->cpus; in cpufreq_callback()
45 * Skip lpj numbers adjustment if the CPU-freq transition is safe for in cpufreq_callback()
48 if (freq->flags & CPUFREQ_CONST_LOOPS) in cpufreq_callback()
54 glb_lpj_ref_freq = freq->old; in cpufreq_callback()
59 per_cpu(pcp_lpj_ref_freq, cpu) = freq->old; in cpufreq_callback()
64 * Adjust global lpj variable and per-CPU udelay_val number in in cpufreq_callback()
67 if ((val == CPUFREQ_PRECHANGE && freq->old < freq->new) || in cpufreq_callback()
68 (val == CPUFREQ_POSTCHANGE && freq->old > freq->new)) { in cpufreq_callback()
71 freq->new); in cpufreq_callback()
76 freq->new); in cpufreq_callback()
113 * time_init() - it does the following things.
115 * 1) plat_time_init() -
118 * (only needed if you intended to use cpu counter as timer interrupt
129 case CPU_R4000PC: in cpu_has_mfc0_count_bug()
130 case CPU_R4000SC: in cpu_has_mfc0_count_bug()
131 case CPU_R4000MC: in cpu_has_mfc0_count_bug()
139 case CPU_R4400PC: in cpu_has_mfc0_count_bug()
140 case CPU_R4400SC: in cpu_has_mfc0_count_bug()
141 case CPU_R4400MC: in cpu_has_mfc0_count_bug()
163 * The use of the R4k timer as a clock event takes precedence; in time_init()
165 * interrupt, then we don't use the timer as a clock source. in time_init()
166 * We may still use the timer as a clock source though if the in time_init()
168 * matter then, because we don't use the interrupt. in time_init()