• Home
  • Raw
  • Download

Lines Matching refs:core

38 static unsigned core_vpe_count(unsigned int cluster, unsigned core)  in core_vpe_count()  argument
43 return mips_cps_numvps(cluster, core); in core_vpe_count()
214 static void boot_core(unsigned int core, unsigned int vpe_id) in boot_core() argument
220 mips_cm_lock_other(0, core, 0, CM_GCR_Cx_OTHER_BLOCK_LOCAL); in boot_core()
232 set_gcr_access(1 << core); in boot_core()
236 mips_cpc_lock_other(core); in boot_core()
270 core, stat); in boot_core()
283 bitmap_set(core_power, core, 1); in boot_core()
288 unsigned core = cpu_core(&current_cpu_data); in remote_vpe_boot() local
289 struct core_boot_config *core_cfg = &mips_cps_core_bootcfg[core]; in remote_vpe_boot()
296 unsigned core = cpu_core(&cpu_data[cpu]); in cps_boot_secondary() local
298 struct core_boot_config *core_cfg = &mips_cps_core_bootcfg[core]; in cps_boot_secondary()
316 if (!test_bit(core, core_power)) { in cps_boot_secondary()
318 boot_core(core, vpe_id); in cps_boot_secondary()
323 mips_cm_lock_other(0, core, vpe_id, CM_GCR_Cx_OTHER_BLOCK_LOCAL); in cps_boot_secondary()
339 core, cpu); in cps_boot_secondary()
406 unsigned int cpu, core, vpe_id; in cps_shutdown_this_cpu() local
409 core = cpu_core(&cpu_data[cpu]); in cps_shutdown_this_cpu()
414 pr_debug("Halting core %d VP%d\n", core, vpe_id); in cps_shutdown_this_cpu()
426 pr_debug("Gating power to core %d\n", core); in cps_shutdown_this_cpu()
523 unsigned core = cpu_core(&cpu_data[cpu]); in cps_cpu_die() local
554 mips_cm_lock_other(0, core, 0, CM_GCR_Cx_OTHER_BLOCK_LOCAL); in cps_cpu_die()
555 mips_cpc_lock_other(core); in cps_cpu_die()
585 bitmap_clear(core_power, core, 1); in cps_cpu_die()
598 mips_cm_lock_other(0, core, vpe_id, CM_GCR_Cx_OTHER_BLOCK_LOCAL); in cps_cpu_die()