Lines Matching defs:cpu
34 int cpu, cluster;
38 cpu = MPIDR_AFFLVL0_VAL(mpidr);
41 hisi_ipc_cluster_on(cpu, cluster);
43 hisi_pwrc_set_core_bx_addr(cpu, cluster, hikey_sec_entrypoint);
44 hisi_pwrc_enable_debug(cpu, cluster);
45 hisi_ipc_cpu_on(cpu, cluster);
53 int cpu, cluster;
57 cpu = MPIDR_AFFLVL0_VAL(mpidr);
62 * No need for locks as no other cpu is active at the moment.
67 /* Zero the jump address in the mailbox for this cpu */
68 hisi_pwrc_set_core_bx_addr(cpu, cluster, 0);
70 /* Program the GIC per-cpu distributor or re-distributor interface */
72 /* Enable the GIC cpu interface */
79 int cpu, cluster;
83 cpu = MPIDR_AFFLVL0_VAL(mpidr);
86 hisi_ipc_cpu_off(cpu, cluster);
93 hisi_ipc_cluster_off(cpu, cluster);
100 unsigned int cpu = mpidr & MPIDR_CPU_MASK;
109 /* Program the jump address for the target cpu */
110 hisi_pwrc_set_core_bx_addr(cpu, cluster, hikey_sec_entrypoint);
115 hisi_ipc_cpu_suspend(cpu, cluster);
129 hisi_ipc_cluster_suspend(cpu, cluster);
136 unsigned int cluster, cpu;
142 /* Get the mpidr for this cpu */
145 cpu = mpidr & MPIDR_CPU_MASK;
151 hisi_pwrc_set_core_bx_addr(cpu, cluster, 0);