Lines Matching defs:cpuref
62 static u_long powermac_timebase_freq(platform_t, struct cpuref *cpuref);
63 static int powermac_smp_first_cpu(platform_t, struct cpuref *cpuref);
64 static int powermac_smp_next_cpu(platform_t, struct cpuref *cpuref);
65 static int powermac_smp_get_bsp(platform_t, struct cpuref *cpuref);
216 powermac_timebase_freq(platform_t plat, struct cpuref *cpuref)
221 phandle = cpuref->cr_hwref;
233 powermac_smp_fill_cpuref(struct cpuref *cpuref, phandle_t cpu)
238 cpuref->cr_hwref = cpu;
249 cpuref->cr_cpuid = cpuid & 0xff;
254 powermac_smp_first_cpu(platform_t plat, struct cpuref *cpuref)
290 return (powermac_smp_fill_cpuref(cpuref, cpu));
294 powermac_smp_next_cpu(platform_t plat, struct cpuref *cpuref)
300 cpu = OF_peer(cpuref->cr_hwref);
310 return (powermac_smp_fill_cpuref(cpuref, cpu));
314 powermac_smp_get_bsp(platform_t plat, struct cpuref *cpuref)
329 return (powermac_smp_fill_cpuref(cpuref, bsp));