Lines Matching refs:cpuref
68 static u_long powernv_timebase_freq(platform_t, struct cpuref *cpuref);
69 static int powernv_smp_first_cpu(platform_t, struct cpuref *cpuref);
70 static int powernv_smp_next_cpu(platform_t, struct cpuref *cpuref);
71 static int powernv_smp_get_bsp(platform_t, struct cpuref *cpuref);
111 static struct cpuref platform_cpuref[MAXCPU];
288 powernv_timebase_freq(platform_t plat, struct cpuref *cpuref)
327 static struct cpuref tmp_cpuref[MAXCPU];
389 powernv_smp_first_cpu(platform_t plat, struct cpuref *cpuref)
394 cpuref->cr_cpuid = 0;
395 cpuref->cr_hwref = platform_cpuref[0].cr_hwref;
396 cpuref->cr_domain = platform_cpuref[0].cr_domain;
402 powernv_smp_next_cpu(platform_t plat, struct cpuref *cpuref)
409 id = cpuref->cr_cpuid + 1;
413 cpuref->cr_cpuid = platform_cpuref[id].cr_cpuid;
414 cpuref->cr_hwref = platform_cpuref[id].cr_hwref;
415 cpuref->cr_domain = platform_cpuref[id].cr_domain;
421 powernv_smp_get_bsp(platform_t plat, struct cpuref *cpuref)
424 cpuref->cr_cpuid = platform_cpuref[0].cr_cpuid;
425 cpuref->cr_hwref = platform_cpuref[0].cr_hwref;
426 cpuref->cr_domain = platform_cpuref[0].cr_domain;