Lines Matching defs:cpuref
76 static u_long mpc85xx_timebase_freq(platform_t, struct cpuref *cpuref);
77 static int mpc85xx_smp_first_cpu(platform_t, struct cpuref *cpuref);
78 static int mpc85xx_smp_next_cpu(platform_t, struct cpuref *cpuref);
79 static int mpc85xx_smp_get_bsp(platform_t, struct cpuref *cpuref);
214 mpc85xx_timebase_freq(platform_t plat, struct cpuref *cpuref)
280 mpc85xx_smp_first_cpu(platform_t plat, struct cpuref *cpuref)
284 cpuref->cr_cpuid = cpu;
285 cpuref->cr_hwref = cpuref->cr_cpuid;
287 printf("powerpc_smp_first_cpu: cpuid %d\n", cpuref->cr_cpuid);
294 mpc85xx_smp_next_cpu(platform_t plat, struct cpuref *cpuref)
300 cpuref->cr_cpuid = cpu++;
301 cpuref->cr_hwref = cpuref->cr_cpuid;
303 printf("powerpc_smp_next_cpu: cpuid %d\n", cpuref->cr_cpuid);
309 mpc85xx_smp_get_bsp(platform_t plat, struct cpuref *cpuref)
312 cpuref->cr_cpuid = mfspr(SPR_PIR);
313 cpuref->cr_hwref = cpuref->cr_cpuid;