Lines Matching +full:last +full:- +full:interrupt +full:- +full:source
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
119 * source)
134 * Afaik this is the last version of the R4000. Later versions in cpu_has_mfc0_count_bug()
144 * has the mfc0 from count bug. This seems the last version in cpu_has_mfc0_count_bug()
160 * interrupt, then we don't use the timer as a clock source. in time_init()
161 * We may still use the timer as a clock source though if the in time_init()
162 * timer interrupt isn't reliable; the interference doesn't in time_init()
163 * matter then, because we don't use the interrupt. in time_init()