• Home
  • Raw
  • Download

Lines Matching refs:core

42 static unsigned core_vpe_count(unsigned int cluster, unsigned core)  in core_vpe_count()  argument
47 return mips_cps_numvps(cluster, core); in core_vpe_count()
218 static void boot_core(unsigned int core, unsigned int vpe_id) in boot_core() argument
224 mips_cm_lock_other(0, core, 0, CM_GCR_Cx_OTHER_BLOCK_LOCAL); in boot_core()
236 set_gcr_access(1 << core); in boot_core()
240 mips_cpc_lock_other(core); in boot_core()
274 core, stat); in boot_core()
287 bitmap_set(core_power, core, 1); in boot_core()
292 unsigned core = cpu_core(&current_cpu_data); in remote_vpe_boot() local
293 struct core_boot_config *core_cfg = &mips_cps_core_bootcfg[core]; in remote_vpe_boot()
300 unsigned core = cpu_core(&cpu_data[cpu]); in cps_boot_secondary() local
302 struct core_boot_config *core_cfg = &mips_cps_core_bootcfg[core]; in cps_boot_secondary()
320 if (!test_bit(core, core_power)) { in cps_boot_secondary()
322 boot_core(core, vpe_id); in cps_boot_secondary()
327 mips_cm_lock_other(0, core, vpe_id, CM_GCR_Cx_OTHER_BLOCK_LOCAL); in cps_boot_secondary()
343 core, cpu); in cps_boot_secondary()
431 unsigned int cpu, core, vpe_id; in play_dead() local
436 core = cpu_core(&cpu_data[cpu]); in play_dead()
442 core = cpu_core(&cpu_data[cpu]); in play_dead()
464 pr_debug("Halting core %d VP%d\n", core, vpe_id); in play_dead()
476 pr_debug("Gating power to core %d\n", core); in play_dead()
502 unsigned core = cpu_core(&cpu_data[cpu]); in cps_cpu_die() local
533 mips_cm_lock_other(0, core, 0, CM_GCR_Cx_OTHER_BLOCK_LOCAL); in cps_cpu_die()
534 mips_cpc_lock_other(core); in cps_cpu_die()
564 bitmap_clear(core_power, core, 1); in cps_cpu_die()
577 mips_cm_lock_other(0, core, vpe_id, CM_GCR_Cx_OTHER_BLOCK_LOCAL); in cps_cpu_die()