Lines Matching refs:cpu
34 int cpu, cluster; in hikey_pwr_domain_on() local
38 cpu = MPIDR_AFFLVL0_VAL(mpidr); in hikey_pwr_domain_on()
41 hisi_ipc_cluster_on(cpu, cluster); in hikey_pwr_domain_on()
43 hisi_pwrc_set_core_bx_addr(cpu, cluster, hikey_sec_entrypoint); in hikey_pwr_domain_on()
44 hisi_pwrc_enable_debug(cpu, cluster); in hikey_pwr_domain_on()
45 hisi_ipc_cpu_on(cpu, cluster); in hikey_pwr_domain_on()
53 int cpu, cluster; in hikey_pwr_domain_on_finish() local
57 cpu = MPIDR_AFFLVL0_VAL(mpidr); in hikey_pwr_domain_on_finish()
68 hisi_pwrc_set_core_bx_addr(cpu, cluster, 0); in hikey_pwr_domain_on_finish()
79 int cpu, cluster; in hikey_pwr_domain_off() local
83 cpu = MPIDR_AFFLVL0_VAL(mpidr); in hikey_pwr_domain_off()
86 hisi_ipc_cpu_off(cpu, cluster); in hikey_pwr_domain_off()
93 hisi_ipc_cluster_off(cpu, cluster); in hikey_pwr_domain_off()
100 unsigned int cpu = mpidr & MPIDR_CPU_MASK; in hikey_pwr_domain_suspend() local
110 hisi_pwrc_set_core_bx_addr(cpu, cluster, hikey_sec_entrypoint); in hikey_pwr_domain_suspend()
115 hisi_ipc_cpu_suspend(cpu, cluster); in hikey_pwr_domain_suspend()
129 hisi_ipc_cluster_suspend(cpu, cluster); in hikey_pwr_domain_suspend()
136 unsigned int cluster, cpu; in hikey_pwr_domain_suspend_finish() local
145 cpu = mpidr & MPIDR_CPU_MASK; in hikey_pwr_domain_suspend_finish()
151 hisi_pwrc_set_core_bx_addr(cpu, cluster, 0); in hikey_pwr_domain_suspend_finish()