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)
30 void mcucfg_set_bootaddr(unsigned int cluster, unsigned int cpu, uintptr_t bootaddr)
32 assert(cluster == 0U);
34 mmio_write_32(per_cpu(cluster, cpu, MCUCFG_BOOTADDR), bootaddr);
37 uintptr_t mcucfg_get_bootaddr(unsigned int cluster, unsigned int cpu)
39 assert(cluster == 0U);
41 return (uintptr_t)mmio_read_32(per_cpu(cluster, cpu, MCUCFG_BOOTADDR));
44 void mcucfg_init_archstate(unsigned int cluster, unsigned int cpu, bool arm64)
48 assert(cluster == 0U);
50 reg = per_cluster(cluster, MCUCFG_INITARCH);
73 bool spm_get_cluster_powerstate(unsigned int cluster)
75 assert(cluster == 0U);
80 bool spm_get_cpu_powerstate(unsigned int cluster, unsigned int cpu)
84 assert(cluster == 0U);
119 * Power on a core with specified cluster and core index
121 * @cluster: the cluster ID of the CPU which to be powered on
124 void spm_poweron_cpu(unsigned int cluster, unsigned int cpu)
130 mmio_setbits_32(per_cpu(cluster, cpu, SPM_CPU_PWR), PWR_ON);
133 while (!spm_get_cpu_powerstate(cluster, cpu))
141 * Power off a core with specified cluster and core index
143 * @cluster: the cluster ID of the CPU which to be powered off
146 void spm_poweroff_cpu(unsigned int cluster, unsigned int cpu)
149 mmio_clrbits_32(per_cpu(cluster, cpu, SPM_CPU_PWR), PWR_ON);
153 * Power off a cluster with specified index
155 * @cluster: the cluster index which to be powered off
157 void spm_poweroff_cluster(unsigned int cluster)
159 /* No need to power on/off cluster on single cluster platform */
164 * Power on a cluster with specified index
166 * @cluster: the cluster index which to be powered on
168 void spm_poweron_cluster(unsigned int cluster)
170 /* No need to power on/off cluster on single cluster platform */