Lines Matching refs:cpuref
67 static u_long powermac_timebase_freq(platform_t, struct cpuref *cpuref);
68 static int powermac_smp_first_cpu(platform_t, struct cpuref *cpuref);
69 static int powermac_smp_next_cpu(platform_t, struct cpuref *cpuref);
70 static int powermac_smp_get_bsp(platform_t, struct cpuref *cpuref);
226 powermac_timebase_freq(platform_t plat, struct cpuref *cpuref) in powermac_timebase_freq() argument
231 phandle = cpuref->cr_hwref; in powermac_timebase_freq()
242 powermac_smp_fill_cpuref(struct cpuref *cpuref, phandle_t cpu) in powermac_smp_fill_cpuref() argument
247 cpuref->cr_hwref = cpu; in powermac_smp_fill_cpuref()
258 cpuref->cr_cpuid = cpuid & 0xff; in powermac_smp_fill_cpuref()
263 powermac_smp_first_cpu(platform_t plat, struct cpuref *cpuref) in powermac_smp_first_cpu() argument
299 return (powermac_smp_fill_cpuref(cpuref, cpu)); in powermac_smp_first_cpu()
303 powermac_smp_next_cpu(platform_t plat, struct cpuref *cpuref) in powermac_smp_next_cpu() argument
309 cpu = OF_peer(cpuref->cr_hwref); in powermac_smp_next_cpu()
319 return (powermac_smp_fill_cpuref(cpuref, cpu)); in powermac_smp_next_cpu()
323 powermac_smp_get_bsp(platform_t plat, struct cpuref *cpuref) in powermac_smp_get_bsp() argument
338 return (powermac_smp_fill_cpuref(cpuref, bsp)); in powermac_smp_get_bsp()