Lines Matching refs:cpuref
98 static u_long mpc85xx_timebase_freq(platform_t, struct cpuref *cpuref);
99 static int mpc85xx_smp_first_cpu(platform_t, struct cpuref *cpuref);
100 static int mpc85xx_smp_next_cpu(platform_t, struct cpuref *cpuref);
101 static int mpc85xx_smp_get_bsp(platform_t, struct cpuref *cpuref);
222 mpc85xx_timebase_freq(platform_t plat, struct cpuref *cpuref) in mpc85xx_timebase_freq() argument
289 mpc85xx_smp_first_cpu(platform_t plat, struct cpuref *cpuref) in mpc85xx_smp_first_cpu() argument
293 cpuref->cr_cpuid = cpu; in mpc85xx_smp_first_cpu()
294 cpuref->cr_hwref = cpuref->cr_cpuid; in mpc85xx_smp_first_cpu()
296 printf("powerpc_smp_first_cpu: cpuid %d\n", cpuref->cr_cpuid); in mpc85xx_smp_first_cpu()
303 mpc85xx_smp_next_cpu(platform_t plat, struct cpuref *cpuref) in mpc85xx_smp_next_cpu() argument
309 cpuref->cr_cpuid = cpu++; in mpc85xx_smp_next_cpu()
310 cpuref->cr_hwref = cpuref->cr_cpuid; in mpc85xx_smp_next_cpu()
312 printf("powerpc_smp_next_cpu: cpuid %d\n", cpuref->cr_cpuid); in mpc85xx_smp_next_cpu()
318 mpc85xx_smp_get_bsp(platform_t plat, struct cpuref *cpuref) in mpc85xx_smp_get_bsp() argument
321 cpuref->cr_cpuid = mfspr(SPR_PIR); in mpc85xx_smp_get_bsp()
322 cpuref->cr_hwref = cpuref->cr_cpuid; in mpc85xx_smp_get_bsp()