Symbol: cpuref
sys/dev/ofw/ofw_cpu.c
312
struct cpuref cpuref;
sys/dev/ofw/ofw_cpu.c
321
for (rv = platform_smp_first_cpu(&cpuref); rv == 0;
sys/dev/ofw/ofw_cpu.c
322
rv = platform_smp_next_cpu(&cpuref)) {
sys/dev/ofw/ofw_cpu.c
323
if (cpuref.cr_hwref == servers[i]) {
sys/dev/ofw/ofw_cpu.c
325
pcpu_find(cpuref.cr_cpuid);
sys/powerpc/booke/machdep_e500.c
173
struct cpuref cpuref;
sys/powerpc/booke/machdep_e500.c
182
cpuref.cr_hwref = 0;
sys/powerpc/booke/machdep_e500.c
183
cpuref.cr_cpuid = 0;
sys/powerpc/booke/machdep_e500.c
184
freq = platform_timebase_freq(&cpuref);
sys/powerpc/booke/platform_bare.c
49
static u_long bare_timebase_freq(platform_t, struct cpuref *cpuref);
sys/powerpc/booke/platform_bare.c
90
bare_timebase_freq(platform_t plat, struct cpuref *cpuref)
sys/powerpc/include/platform.h
60
u_long platform_timebase_freq(struct cpuref *);
sys/powerpc/include/platform.h
62
int platform_smp_first_cpu(struct cpuref *);
sys/powerpc/include/platform.h
63
int platform_smp_next_cpu(struct cpuref *);
sys/powerpc/include/platform.h
64
int platform_smp_get_bsp(struct cpuref *);
sys/powerpc/mpc85xx/platform_mpc85xx.c
100
static int mpc85xx_smp_next_cpu(platform_t, struct cpuref *cpuref);
sys/powerpc/mpc85xx/platform_mpc85xx.c
101
static int mpc85xx_smp_get_bsp(platform_t, struct cpuref *cpuref);
sys/powerpc/mpc85xx/platform_mpc85xx.c
222
mpc85xx_timebase_freq(platform_t plat, struct cpuref *cpuref)
sys/powerpc/mpc85xx/platform_mpc85xx.c
289
mpc85xx_smp_first_cpu(platform_t plat, struct cpuref *cpuref)
sys/powerpc/mpc85xx/platform_mpc85xx.c
293
cpuref->cr_cpuid = cpu;
sys/powerpc/mpc85xx/platform_mpc85xx.c
294
cpuref->cr_hwref = cpuref->cr_cpuid;
sys/powerpc/mpc85xx/platform_mpc85xx.c
296
printf("powerpc_smp_first_cpu: cpuid %d\n", cpuref->cr_cpuid);
sys/powerpc/mpc85xx/platform_mpc85xx.c
303
mpc85xx_smp_next_cpu(platform_t plat, struct cpuref *cpuref)
sys/powerpc/mpc85xx/platform_mpc85xx.c
312
cpuref->cr_cpuid = cpu++;
sys/powerpc/mpc85xx/platform_mpc85xx.c
315
for (i = 0, node = OF_child(node); i < cpuref->cr_cpuid;
sys/powerpc/mpc85xx/platform_mpc85xx.c
319
cpuref->cr_hwref = reg;
sys/powerpc/mpc85xx/platform_mpc85xx.c
321
cpuref->cr_hwref = cpuref->cr_cpuid;
sys/powerpc/mpc85xx/platform_mpc85xx.c
324
cpuref->cr_cpuid, (int)cpuref->cr_hwref);
sys/powerpc/mpc85xx/platform_mpc85xx.c
330
mpc85xx_smp_get_bsp(platform_t plat, struct cpuref *cpuref)
sys/powerpc/mpc85xx/platform_mpc85xx.c
333
cpuref->cr_cpuid = mfspr(SPR_PIR);
sys/powerpc/mpc85xx/platform_mpc85xx.c
334
cpuref->cr_hwref = cpuref->cr_cpuid;
sys/powerpc/mpc85xx/platform_mpc85xx.c
98
static u_long mpc85xx_timebase_freq(platform_t, struct cpuref *cpuref);
sys/powerpc/mpc85xx/platform_mpc85xx.c
99
static int mpc85xx_smp_first_cpu(platform_t, struct cpuref *cpuref);
sys/powerpc/powermac/platform_powermac.c
226
powermac_timebase_freq(platform_t plat, struct cpuref *cpuref)
sys/powerpc/powermac/platform_powermac.c
231
phandle = cpuref->cr_hwref;
sys/powerpc/powermac/platform_powermac.c
242
powermac_smp_fill_cpuref(struct cpuref *cpuref, phandle_t cpu)
sys/powerpc/powermac/platform_powermac.c
247
cpuref->cr_hwref = cpu;
sys/powerpc/powermac/platform_powermac.c
258
cpuref->cr_cpuid = cpuid & 0xff;
sys/powerpc/powermac/platform_powermac.c
263
powermac_smp_first_cpu(platform_t plat, struct cpuref *cpuref)
sys/powerpc/powermac/platform_powermac.c
299
return (powermac_smp_fill_cpuref(cpuref, cpu));
sys/powerpc/powermac/platform_powermac.c
303
powermac_smp_next_cpu(platform_t plat, struct cpuref *cpuref)
sys/powerpc/powermac/platform_powermac.c
309
cpu = OF_peer(cpuref->cr_hwref);
sys/powerpc/powermac/platform_powermac.c
319
return (powermac_smp_fill_cpuref(cpuref, cpu));
sys/powerpc/powermac/platform_powermac.c
323
powermac_smp_get_bsp(platform_t plat, struct cpuref *cpuref)
sys/powerpc/powermac/platform_powermac.c
338
return (powermac_smp_fill_cpuref(cpuref, bsp));
sys/powerpc/powermac/platform_powermac.c
67
static u_long powermac_timebase_freq(platform_t, struct cpuref *cpuref);
sys/powerpc/powermac/platform_powermac.c
68
static int powermac_smp_first_cpu(platform_t, struct cpuref *cpuref);
sys/powerpc/powermac/platform_powermac.c
69
static int powermac_smp_next_cpu(platform_t, struct cpuref *cpuref);
sys/powerpc/powermac/platform_powermac.c
70
static int powermac_smp_get_bsp(platform_t, struct cpuref *cpuref);
sys/powerpc/powernv/platform_powernv.c
111
static struct cpuref platform_cpuref[MAXCPU];
sys/powerpc/powernv/platform_powernv.c
288
powernv_timebase_freq(platform_t plat, struct cpuref *cpuref)
sys/powerpc/powernv/platform_powernv.c
327
static struct cpuref tmp_cpuref[MAXCPU];
sys/powerpc/powernv/platform_powernv.c
389
powernv_smp_first_cpu(platform_t plat, struct cpuref *cpuref)
sys/powerpc/powernv/platform_powernv.c
394
cpuref->cr_cpuid = 0;
sys/powerpc/powernv/platform_powernv.c
395
cpuref->cr_hwref = platform_cpuref[0].cr_hwref;
sys/powerpc/powernv/platform_powernv.c
396
cpuref->cr_domain = platform_cpuref[0].cr_domain;
sys/powerpc/powernv/platform_powernv.c
402
powernv_smp_next_cpu(platform_t plat, struct cpuref *cpuref)
sys/powerpc/powernv/platform_powernv.c
409
id = cpuref->cr_cpuid + 1;
sys/powerpc/powernv/platform_powernv.c
413
cpuref->cr_cpuid = platform_cpuref[id].cr_cpuid;
sys/powerpc/powernv/platform_powernv.c
414
cpuref->cr_hwref = platform_cpuref[id].cr_hwref;
sys/powerpc/powernv/platform_powernv.c
415
cpuref->cr_domain = platform_cpuref[id].cr_domain;
sys/powerpc/powernv/platform_powernv.c
421
powernv_smp_get_bsp(platform_t plat, struct cpuref *cpuref)
sys/powerpc/powernv/platform_powernv.c
424
cpuref->cr_cpuid = platform_cpuref[0].cr_cpuid;
sys/powerpc/powernv/platform_powernv.c
425
cpuref->cr_hwref = platform_cpuref[0].cr_hwref;
sys/powerpc/powernv/platform_powernv.c
426
cpuref->cr_domain = platform_cpuref[0].cr_domain;
sys/powerpc/powernv/platform_powernv.c
68
static u_long powernv_timebase_freq(platform_t, struct cpuref *cpuref);
sys/powerpc/powernv/platform_powernv.c
69
static int powernv_smp_first_cpu(platform_t, struct cpuref *cpuref);
sys/powerpc/powernv/platform_powernv.c
70
static int powernv_smp_next_cpu(platform_t, struct cpuref *cpuref);
sys/powerpc/powernv/platform_powernv.c
71
static int powernv_smp_get_bsp(platform_t, struct cpuref *cpuref);
sys/powerpc/powerpc/clock.c
178
struct cpuref cpu;
sys/powerpc/powerpc/machdep.c
262
struct cpuref bsp;
sys/powerpc/powerpc/mp_machdep.c
118
struct cpuref cpuref;
sys/powerpc/powerpc/mp_machdep.c
123
error = platform_smp_first_cpu(&cpuref);
sys/powerpc/powerpc/mp_machdep.c
126
mp_maxid = max(cpuref.cr_cpuid, mp_maxid);
sys/powerpc/powerpc/mp_machdep.c
127
error = platform_smp_next_cpu(&cpuref);
sys/powerpc/powerpc/mp_machdep.c
147
struct cpuref bsp, cpu;
sys/powerpc/powerpc/platform.c
254
platform_timebase_freq(struct cpuref *cpu)
sys/powerpc/powerpc/platform.c
269
platform_smp_first_cpu(struct cpuref *cpu)
sys/powerpc/powerpc/platform.c
275
platform_smp_next_cpu(struct cpuref *cpu)
sys/powerpc/powerpc/platform.c
281
platform_smp_get_bsp(struct cpuref *cpu)
sys/powerpc/ps3/platform_ps3.c
175
ps3_timebase_freq(platform_t plat, struct cpuref *cpuref)
sys/powerpc/ps3/platform_ps3.c
190
ps3_smp_first_cpu(platform_t plat, struct cpuref *cpuref)
sys/powerpc/ps3/platform_ps3.c
193
cpuref->cr_cpuid = 0;
sys/powerpc/ps3/platform_ps3.c
194
cpuref->cr_hwref = ps3_boot_pir;
sys/powerpc/ps3/platform_ps3.c
200
ps3_smp_next_cpu(platform_t plat, struct cpuref *cpuref)
sys/powerpc/ps3/platform_ps3.c
203
if (cpuref->cr_cpuid >= 1)
sys/powerpc/ps3/platform_ps3.c
206
cpuref->cr_cpuid++;
sys/powerpc/ps3/platform_ps3.c
207
cpuref->cr_hwref = !ps3_boot_pir;
sys/powerpc/ps3/platform_ps3.c
213
ps3_smp_get_bsp(platform_t plat, struct cpuref *cpuref)
sys/powerpc/ps3/platform_ps3.c
216
cpuref->cr_cpuid = 0;
sys/powerpc/ps3/platform_ps3.c
217
cpuref->cr_hwref = ps3_boot_pir;
sys/powerpc/ps3/platform_ps3.c
64
static u_long ps3_timebase_freq(platform_t, struct cpuref *cpuref);
sys/powerpc/ps3/platform_ps3.c
66
static int ps3_smp_first_cpu(platform_t, struct cpuref *cpuref);
sys/powerpc/ps3/platform_ps3.c
67
static int ps3_smp_next_cpu(platform_t, struct cpuref *cpuref);
sys/powerpc/ps3/platform_ps3.c
68
static int ps3_smp_get_bsp(platform_t, struct cpuref *cpuref);
sys/powerpc/pseries/platform_chrp.c
317
chrp_timebase_freq(platform_t plat, struct cpuref *cpuref)
sys/powerpc/pseries/platform_chrp.c
345
chrp_smp_first_cpu(platform_t plat, struct cpuref *cpuref)
sys/powerpc/pseries/platform_chrp.c
351
cpuref->cr_cpuid = 0;
sys/powerpc/pseries/platform_chrp.c
352
cpuref->cr_hwref = platform_cpuref[0].cr_hwref;
sys/powerpc/pseries/platform_chrp.c
358
chrp_smp_next_cpu(platform_t plat, struct cpuref *cpuref)
sys/powerpc/pseries/platform_chrp.c
365
id = cpuref->cr_cpuid + 1;
sys/powerpc/pseries/platform_chrp.c
369
cpuref->cr_cpuid = platform_cpuref[id].cr_cpuid;
sys/powerpc/pseries/platform_chrp.c
370
cpuref->cr_hwref = platform_cpuref[id].cr_hwref;
sys/powerpc/pseries/platform_chrp.c
376
chrp_smp_get_bsp(platform_t plat, struct cpuref *cpuref)
sys/powerpc/pseries/platform_chrp.c
379
cpuref->cr_cpuid = platform_cpuref[0].cr_cpuid;
sys/powerpc/pseries/platform_chrp.c
380
cpuref->cr_hwref = platform_cpuref[0].cr_hwref;
sys/powerpc/pseries/platform_chrp.c
402
static struct cpuref tmp_cpuref[MAXCPU];
sys/powerpc/pseries/platform_chrp.c
72
static u_long chrp_timebase_freq(platform_t, struct cpuref *cpuref);
sys/powerpc/pseries/platform_chrp.c
73
static int chrp_smp_first_cpu(platform_t, struct cpuref *cpuref);
sys/powerpc/pseries/platform_chrp.c
74
static int chrp_smp_next_cpu(platform_t, struct cpuref *cpuref);
sys/powerpc/pseries/platform_chrp.c
75
static int chrp_smp_get_bsp(platform_t, struct cpuref *cpuref);
sys/powerpc/pseries/platform_chrp.c
89
static struct cpuref platform_cpuref[MAXCPU];