Lines Matching defs:cpu
12 #include <linux/cpu.h>
30 static unsigned int scpi_cpufreq_get_rate(unsigned int cpu)
32 struct cpufreq_policy *policy = cpufreq_cpu_get_raw(cpu);
60 int cpu, domain, tdomain;
67 for_each_possible_cpu(cpu) {
68 if (cpu == cpu_dev->id)
71 tcpu_dev = get_cpu_device(cpu);
77 cpumask_set_cpu(cpu, cpumask);
91 cpu_dev = get_cpu_device(policy->cpu);
93 pr_err("failed to get cpu%d device\n", policy->cpu);
138 dev_err(cpu_dev, "%s: Failed to get clk for cpu: %d\n",