Lines Matching refs:core
34 static unsigned core_vpe_count(unsigned core) in core_vpe_count() argument
41 mips_cm_lock_other(core, 0); in core_vpe_count()
64 cpu_data[nvpes + v].core = c; in cps_smp_setup()
130 if (cpu_data[c].core) in cps_prepare_cpus()
170 atomic_set(&mips_cps_core_bootcfg[current_cpu_data.core].vpe_mask, in cps_prepare_cpus()
191 static void boot_core(unsigned core) in boot_core() argument
197 mips_cm_lock_other(core, 0); in boot_core()
207 access |= 1 << (CM_GCR_ACCESS_ACCESSEN_SHF + core); in boot_core()
212 mips_cpc_lock_other(core); in boot_core()
232 core, stat); in boot_core()
245 bitmap_set(core_power, core, 1); in boot_core()
255 unsigned core = cpu_data[cpu].core; in cps_boot_secondary() local
257 struct core_boot_config *core_cfg = &mips_cps_core_bootcfg[core]; in cps_boot_secondary()
270 if (!test_bit(core, core_power)) { in cps_boot_secondary()
272 boot_core(core); in cps_boot_secondary()
276 if (core != current_cpu_data.core) { in cps_boot_secondary()
279 if (cpu_data[remote].core != core) in cps_boot_secondary()
337 core_cfg = &mips_cps_core_bootcfg[current_cpu_data.core]; in cps_cpu_disable()
355 unsigned cpu, core; in play_dead() local
363 core = cpu_data[cpu].core; in play_dead()
367 if (cpu_data[cpu_death_sibling].core != core) in play_dead()
412 unsigned core = cpu_data[cpu].core; in cps_cpu_die() local
441 mips_cpc_lock_other(core); in cps_cpu_die()
450 bitmap_clear(core_power, core, 1); in cps_cpu_die()