Home
last modified time | relevance | path

Searched refs:cr_cpuid (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/powerpc/powerpc/
H A Dmp_machdep.c125 mp_maxid = max(cpuref.cr_cpuid, mp_maxid); in cpu_mp_setmaxid()
155 if (cpu.cr_cpuid >= MAXCPU) { in cpu_mp_start()
157 cpu.cr_cpuid); in cpu_mp_start()
160 if (CPU_ISSET(cpu.cr_cpuid, &all_cpus)) { in cpu_mp_start()
162 cpu.cr_cpuid); in cpu_mp_start()
171 if (cpu.cr_cpuid != bsp.cr_cpuid) { in cpu_mp_start()
174 pc = &__pcpu[cpu.cr_cpuid]; in cpu_mp_start()
177 pcpu_init(pc, cpu.cr_cpuid, sizeof(*pc)); in cpu_mp_start()
178 dpcpu_init(dpcpu, cpu.cr_cpuid); in cpu_mp_start()
181 pc->pc_cpuid = bsp.cr_cpuid; in cpu_mp_start()
H A Dmachdep.c451 bsp.cr_cpuid = 0; in powerpc_init()
452 pc = &__pcpu[bsp.cr_cpuid]; in powerpc_init()
454 pcpu_init(pc, bsp.cr_cpuid, sizeof(struct pcpu)); in powerpc_init()
456 thread0.td_oncpu = bsp.cr_cpuid; in powerpc_init()
457 pc->pc_cpuid = bsp.cr_cpuid; in powerpc_init()
H A Dplatform_if.m63 cpuref->cr_cpuid = 0;
/freebsd/sys/powerpc/pseries/
H A Dplatform_chrp.c351 cpuref->cr_cpuid = 0; in chrp_smp_first_cpu()
365 id = cpuref->cr_cpuid + 1; in chrp_smp_next_cpu()
369 cpuref->cr_cpuid = platform_cpuref[id].cr_cpuid; in chrp_smp_next_cpu()
379 cpuref->cr_cpuid = platform_cpuref[0].cr_cpuid; in chrp_smp_get_bsp()
468 tmp_cpuref[tmp_cpuref_cnt].cr_cpuid = tmp_cpuref_cnt; in chrp_cpuref_init()
481 platform_cpuref[platform_cpuref_cnt].cr_cpuid = platform_cpuref_cnt; in chrp_cpuref_init()
486 platform_cpuref[platform_cpuref_cnt].cr_cpuid = platform_cpuref_cnt; in chrp_cpuref_init()
/freebsd/sys/powerpc/powernv/
H A Dplatform_powernv.c351 tmp_cpuref[tmp_cpuref_cnt].cr_cpuid = tmp_cpuref_cnt; in powernv_cpuref_init()
366 platform_cpuref[platform_cpuref_cnt].cr_cpuid = platform_cpuref_cnt; in powernv_cpuref_init()
372 platform_cpuref[platform_cpuref_cnt].cr_cpuid = platform_cpuref_cnt; in powernv_cpuref_init()
388 cpuref->cr_cpuid = 0; in powernv_smp_first_cpu()
403 id = cpuref->cr_cpuid + 1; in powernv_smp_next_cpu()
407 cpuref->cr_cpuid = platform_cpuref[id].cr_cpuid; in powernv_smp_next_cpu()
418 cpuref->cr_cpuid = platform_cpuref[0].cr_cpuid; in powernv_smp_get_bsp()
/freebsd/sys/powerpc/mpc85xx/
H A Dplatform_mpc85xx.c293 cpuref->cr_cpuid = cpu; in mpc85xx_smp_first_cpu()
294 cpuref->cr_hwref = cpuref->cr_cpuid; in mpc85xx_smp_first_cpu()
296 printf("powerpc_smp_first_cpu: cpuid %d\n", cpuref->cr_cpuid); in mpc85xx_smp_first_cpu()
309 cpuref->cr_cpuid = cpu++; in mpc85xx_smp_next_cpu()
310 cpuref->cr_hwref = cpuref->cr_cpuid; in mpc85xx_smp_next_cpu()
312 printf("powerpc_smp_next_cpu: cpuid %d\n", cpuref->cr_cpuid); in mpc85xx_smp_next_cpu()
321 cpuref->cr_cpuid = mfspr(SPR_PIR); in mpc85xx_smp_get_bsp()
322 cpuref->cr_hwref = cpuref->cr_cpuid; in mpc85xx_smp_get_bsp()
/freebsd/sys/powerpc/ps3/
H A Dplatform_ps3.c193 cpuref->cr_cpuid = 0; in ps3_smp_first_cpu()
203 if (cpuref->cr_cpuid >= 1) in ps3_smp_next_cpu()
206 cpuref->cr_cpuid++; in ps3_smp_next_cpu()
216 cpuref->cr_cpuid = 0; in ps3_smp_get_bsp()
/freebsd/sys/powerpc/include/
H A Dsmp.h52 u_int cr_cpuid; member
/freebsd/sys/dev/ofw/
H A Dofw_cpu.c258 pcpu_find(cpuref.cr_cpuid); in ofw_cpu_attach()
/freebsd/sys/powerpc/powermac/
H A Dplatform_powermac.c258 cpuref->cr_cpuid = cpuid & 0xff; in powermac_smp_fill_cpuref()