Lines Matching refs:core

64 	unsigned int core = mpidr & MPIDR_CPU_MASK;  in hikey960_pwr_domain_on()  local
69 hisi_set_cpu_boot_flag(cluster, core); in hikey960_pwr_domain_on()
71 mmio_write_32(CRG_REG_BASE + CRG_RVBAR(cluster, core), in hikey960_pwr_domain_on()
75 hisi_powerup_core(cluster, core); in hikey960_pwr_domain_on()
77 hisi_powerup_cluster(cluster, core); in hikey960_pwr_domain_on()
95 unsigned int core = mpidr & MPIDR_CPU_MASK; in hikey960_pwr_domain_off() local
105 hisi_clear_cpu_boot_flag(cluster, core); in hikey960_pwr_domain_off()
106 hisi_powerdn_core(cluster, core); in hikey960_pwr_domain_off()
109 if (hisi_test_cpu_down(cluster, core)) { in hikey960_pwr_domain_off()
116 hisi_powerdn_cluster(cluster, core); in hikey960_pwr_domain_off()
191 unsigned int core = mpidr & MPIDR_CPU_MASK; in hikey960_pwr_domain_suspend() local
205 hisi_cpuidle_lock(cluster, core); in hikey960_pwr_domain_suspend()
206 hisi_set_cpuidle_flag(cluster, core); in hikey960_pwr_domain_suspend()
207 hisi_cpuidle_unlock(cluster, core); in hikey960_pwr_domain_suspend()
209 mmio_write_32(CRG_REG_BASE + CRG_RVBAR(cluster, core), in hikey960_pwr_domain_suspend()
212 hisi_enter_core_idle(cluster, core); in hikey960_pwr_domain_suspend()
217 hisi_cpuidle_lock(cluster, core); in hikey960_pwr_domain_suspend()
221 if (hisi_test_pwrdn_allcores(cluster, core)) { in hikey960_pwr_domain_suspend()
234 hisi_cpuidle_unlock(cluster, core); in hikey960_pwr_domain_suspend()
240 hisi_enter_ap_suspend(cluster, core); in hikey960_pwr_domain_suspend()
242 hisi_enter_cluster_idle(cluster, core); in hikey960_pwr_domain_suspend()
246 hisi_cpuidle_unlock(cluster, core); in hikey960_pwr_domain_suspend()
267 unsigned int core = mpidr & MPIDR_CPU_MASK; in hikey960_pwr_domain_suspend_finish() local
275 hisi_cpuidle_lock(cluster, core); in hikey960_pwr_domain_suspend_finish()
276 hisi_clear_cpuidle_flag(cluster, core); in hikey960_pwr_domain_suspend_finish()
277 hisi_cpuidle_unlock(cluster, core); in hikey960_pwr_domain_suspend_finish()