Lines Matching refs:cpu
41 #include <machine/cpu.h>
42 #include <machine/cpu-v6.h>
77 #define CPU_PWR_CLAMP(cpu) ((cpu * 4) + CPU_PWR_CLAMP_REG)
92 #define PRCM_CL_PWR_CLAMP(cl, cpu) (0x140 + (cl) * 0x4 + (cpu) * 0x4)
185 /* De-assert cpu core reset */
205 bus_space_handle_t prcm, int cluster, int cpu)
212 val &= ~(1 << cpu);
217 val &= ~(1 << cpu);
222 val &= ~(1 << cpu);
228 PRCM_CL_PWR_CLAMP(cluster, cpu), 0xff >> i);
230 PRCM_CL_PWR_CLAMP(cluster, cpu)) != 0)
235 val &= ~(1 << cpu);
240 val |= (1 << cpu);
245 val |= (1 << cpu);
253 int cluster, cpu;
263 for (cpu = 1; cpu < mp_ncpus; cpu++)
264 aw_mc_mp_start_cpu(cpuscfg, cpuxcfg, prcm, cluster, cpu);