Lines Matching defs:cluster

18 void mcucfg_disable_gic_wakeup(unsigned int cluster, unsigned int cpu)
23 void mcucfg_enable_gic_wakeup(unsigned int cluster, unsigned int cpu)
28 void mcucfg_set_bootaddr(unsigned int cluster, unsigned int cpu, uintptr_t bootaddr)
30 assert(cluster == 0U);
32 mmio_write_32(per_cpu(cluster, cpu, MCUCFG_BOOTADDR), bootaddr);
35 uintptr_t mcucfg_get_bootaddr(unsigned int cluster, unsigned int cpu)
37 assert(cluster == 0U);
39 return (uintptr_t)mmio_read_32(per_cpu(cluster, cpu, MCUCFG_BOOTADDR));
42 void mcucfg_init_archstate(unsigned int cluster, unsigned int cpu, bool arm64)
46 assert(cluster == 0U);
48 reg = per_cluster(cluster, MCUCFG_INITARCH);
71 bool spm_get_cluster_powerstate(unsigned int cluster)
73 assert(cluster == 0U);
78 bool spm_get_cpu_powerstate(unsigned int cluster, unsigned int cpu)
82 assert(cluster == 0U);
112 * Power on a core with specified cluster and core index
114 * @cluster: the cluster ID of the CPU which to be powered on
117 void spm_poweron_cpu(unsigned int cluster, unsigned int cpu)
119 uintptr_t cpu_pwr_con = per_cpu(cluster, cpu, SPM_CPU_PWR);
128 while (!spm_get_cpu_powerstate(cluster, cpu)) {
135 * Power off a core with specified cluster and core index
137 * @cluster: the cluster ID of the CPU which to be powered off
140 void spm_poweroff_cpu(unsigned int cluster, unsigned int cpu)
143 mmio_clrbits_32(per_cpu(cluster, cpu, SPM_CPU_PWR), PWR_ON);
147 * Power off a cluster with specified index
149 * @cluster: the cluster index which to be powered off
151 void spm_poweroff_cluster(unsigned int cluster)
153 /* No need to power on/off cluster on single cluster platform */
158 * Power on a cluster with specified index
160 * @cluster: the cluster index which to be powered on
162 void spm_poweron_cluster(unsigned int cluster)
164 /* No need to power on/off cluster on single cluster platform */