Lines Matching refs:core
113 unsigned core = cpu_core(¤t_cpu_data); in cps_pm_enter_state() local
123 entry = per_cpu(nc_asm_enter, core)[state]; in cps_pm_enter_state()
147 core_cfg = &mips_cps_core_bootcfg[core]; in cps_pm_enter_state()
159 core_ready_count = per_cpu(ready_count, core); in cps_pm_enter_state()
167 coupled_barrier(&per_cpu(pm_barrier, core), online); in cps_pm_enter_state()
639 unsigned core = cpu_core(&cpu_data[cpu]); in cps_pm_online_cpu() local
643 if (per_cpu(nc_asm_enter, core)[state]) in cps_pm_online_cpu()
651 core, state); in cps_pm_online_cpu()
655 per_cpu(nc_asm_enter, core)[state] = entry_fn; in cps_pm_online_cpu()
658 if (!per_cpu(ready_count, core)) { in cps_pm_online_cpu()
661 pr_err("Failed allocate core %u ready_count\n", core); in cps_pm_online_cpu()
664 per_cpu(ready_count, core) = core_rc; in cps_pm_online_cpu()