Lines Matching defs:cpuref
77 static u_long mpc85xx_timebase_freq(platform_t, struct cpuref *cpuref);
78 static int mpc85xx_smp_first_cpu(platform_t, struct cpuref *cpuref);
79 static int mpc85xx_smp_next_cpu(platform_t, struct cpuref *cpuref);
80 static int mpc85xx_smp_get_bsp(platform_t, struct cpuref *cpuref);
212 mpc85xx_timebase_freq(platform_t plat, struct cpuref *cpuref)
274 mpc85xx_smp_first_cpu(platform_t plat, struct cpuref *cpuref)
278 cpuref->cr_cpuid = cpu;
279 cpuref->cr_hwref = cpuref->cr_cpuid;
281 printf("powerpc_smp_first_cpu: cpuid %d\n", cpuref->cr_cpuid);
288 mpc85xx_smp_next_cpu(platform_t plat, struct cpuref *cpuref)
294 cpuref->cr_cpuid = cpu++;
295 cpuref->cr_hwref = cpuref->cr_cpuid;
297 printf("powerpc_smp_next_cpu: cpuid %d\n", cpuref->cr_cpuid);
303 mpc85xx_smp_get_bsp(platform_t plat, struct cpuref *cpuref)
306 cpuref->cr_cpuid = mfspr(SPR_PIR);
307 cpuref->cr_hwref = cpuref->cr_cpuid;