Lines Matching full:cluster
13 * Maximum number of possible clusters / CPUs per cluster.
39 * This is used to indicate where the given CPU from given cluster should
44 void mcpm_set_entry_vector(unsigned cpu, unsigned cluster, void *ptr);
51 void mcpm_set_early_poke(unsigned cpu, unsigned cluster,
55 * CPU/cluster power operations API for higher subsystems to use.
66 * mcpm_cpu_power_up - make given CPU in given cluster runable
68 * @cpu: CPU number within given cluster
69 * @cluster: cluster number for the CPU
71 * The identified CPU is brought out of reset. If the cluster was powered
73 * in the cluster run, and ensuring appropriate cluster setup.
84 int mcpm_cpu_power_up(unsigned int cpu, unsigned int cluster);
91 * If this CPU is found to be the "last man standing" in the cluster
92 * then the cluster is prepared for power-down too.
113 * @cpu: CPU number within given cluster
114 * @cluster: cluster number for the CPU
132 int mcpm_wait_for_cpu_powerdown(unsigned int cpu, unsigned int cluster);
141 * If this CPU is found to be the "last man standing" in the cluster
142 * then the cluster may be prepared for power-down too.
170 * The given cluster is assumed to be set up (cluster_powerup would have
174 * Set up power for given cluster. Called with MCPM lock held and IRQs
175 * disabled. Called before first cpu_powerup when cluster is down. Must
188 * Configure given cluster for power down. Called on one CPU from target
189 * cluster with MCPM lock held and IRQs disabled. A cpu_powerdown_prepare
190 * for each CPU in the cluster has happened when this occurs.
198 * Clean and disable the cluster wide cache as well as the CPU level cache
201 * with their own cpu_cache_disable. The cluster is no longer cache coherent
209 * Called by the first CPU to be powered up or resumed in given cluster.
219 int (*cpu_powerup)(unsigned int cpu, unsigned int cluster);
220 int (*cluster_powerup)(unsigned int cluster);
221 void (*cpu_suspend_prepare)(unsigned int cpu, unsigned int cluster);
222 void (*cpu_powerdown_prepare)(unsigned int cpu, unsigned int cluster);
223 void (*cluster_powerdown_prepare)(unsigned int cluster);
226 void (*cpu_is_up)(unsigned int cpu, unsigned int cluster);
227 void (*cluster_is_up)(unsigned int cluster);
228 int (*wait_for_powerdown)(unsigned int cpu, unsigned int cluster);
241 * mcpm_sync_init - Initialize the cluster synchronization support
244 * early CPU/cluster bringup stage.
253 * resource that needs to be initialized (e.g. 1 for cluster level, 0 for
269 * hotplugged in. The MCPM state machine is set as if the cluster was
279 * Synchronisation structures for coordinating safe cluster setup/teardown.
290 /* cluster state */
291 s8 cluster __aligned(__CACHE_WRITEBACK_GRANULE);