Lines Matching refs:cpuref
63 static u_long powermac_timebase_freq(platform_t, struct cpuref *cpuref);
64 static int powermac_smp_first_cpu(platform_t, struct cpuref *cpuref);
65 static int powermac_smp_next_cpu(platform_t, struct cpuref *cpuref);
66 static int powermac_smp_get_bsp(platform_t, struct cpuref *cpuref);
206 powermac_timebase_freq(platform_t plat, struct cpuref *cpuref)
211 phandle = cpuref->cr_hwref;
223 powermac_smp_fill_cpuref(struct cpuref *cpuref, phandle_t cpu)
228 cpuref->cr_hwref = cpu;
239 cpuref->cr_cpuid = cpuid & 0xff;
244 powermac_smp_first_cpu(platform_t plat, struct cpuref *cpuref)
280 return (powermac_smp_fill_cpuref(cpuref, cpu));
284 powermac_smp_next_cpu(platform_t plat, struct cpuref *cpuref)
290 cpu = OF_peer(cpuref->cr_hwref);
300 return (powermac_smp_fill_cpuref(cpuref, cpu));
304 powermac_smp_get_bsp(platform_t plat, struct cpuref *cpuref)
319 return (powermac_smp_fill_cpuref(cpuref, bsp));