Lines Matching refs:core
33 static unsigned core_vpe_count(unsigned core) in core_vpe_count() argument
40 write_gcr_cl_other(core << CM_GCR_Cx_OTHER_CORENUM_SHF); in core_vpe_count()
62 cpu_data[nvpes + v].core = c; in cps_smp_setup()
128 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
196 write_gcr_cl_other(core << CM_GCR_Cx_OTHER_CORENUM_SHF); in boot_core()
206 access |= 1 << (CM_GCR_ACCESS_ACCESSEN_SHF + core); in boot_core()
211 mips_cpc_lock_other(core); in boot_core()
220 bitmap_set(core_power, core, 1); in boot_core()
230 unsigned core = cpu_data[cpu].core; in cps_boot_secondary() local
232 struct core_boot_config *core_cfg = &mips_cps_core_bootcfg[core]; in cps_boot_secondary()
245 if (!test_bit(core, core_power)) { in cps_boot_secondary()
247 boot_core(core); in cps_boot_secondary()
251 if (core != current_cpu_data.core) { in cps_boot_secondary()
254 if (cpu_data[remote].core != core) in cps_boot_secondary()
312 core_cfg = &mips_cps_core_bootcfg[current_cpu_data.core]; in cps_cpu_disable()
330 unsigned cpu, core; in play_dead() local
338 core = cpu_data[cpu].core; in play_dead()
342 if (cpu_data[cpu_death_sibling].core != core) in play_dead()
387 unsigned core = cpu_data[cpu].core; in cps_cpu_die() local
416 mips_cpc_lock_other(core); in cps_cpu_die()
425 bitmap_clear(core_power, core, 1); in cps_cpu_die()