• Home
  • Raw
  • Download

Lines Matching full:cluster

16  * Maximum number of possible clusters / CPUs per cluster.
42 * This is used to indicate where the given CPU from given cluster should
47 void mcpm_set_entry_vector(unsigned cpu, unsigned cluster, void *ptr);
54 void mcpm_set_early_poke(unsigned cpu, unsigned cluster,
58 * CPU/cluster power operations API for higher subsystems to use.
69 * mcpm_cpu_power_up - make given CPU in given cluster runable
71 * @cpu: CPU number within given cluster
72 * @cluster: cluster number for the CPU
74 * The identified CPU is brought out of reset. If the cluster was powered
76 * in the cluster run, and ensuring appropriate cluster setup.
87 int mcpm_cpu_power_up(unsigned int cpu, unsigned int cluster);
94 * If this CPU is found to be the "last man standing" in the cluster
95 * then the cluster is prepared for power-down too.
116 * @cpu: CPU number within given cluster
117 * @cluster: cluster number for the CPU
135 int mcpm_wait_for_cpu_powerdown(unsigned int cpu, unsigned int cluster);
144 * If this CPU is found to be the "last man standing" in the cluster
145 * then the cluster may be prepared for power-down too.
173 * The given cluster is assumed to be set up (cluster_powerup would have
177 * Set up power for given cluster. Called with MCPM lock held and IRQs
178 * disabled. Called before first cpu_powerup when cluster is down. Must
191 * Configure given cluster for power down. Called on one CPU from target
192 * cluster with MCPM lock held and IRQs disabled. A cpu_powerdown_prepare
193 * for each CPU in the cluster has happened when this occurs.
201 * Clean and disable the cluster wide cache as well as the CPU level cache
204 * with their own cpu_cache_disable. The cluster is no longer cache coherent
212 * Called by the first CPU to be powered up or resumed in given cluster.
222 int (*cpu_powerup)(unsigned int cpu, unsigned int cluster);
223 int (*cluster_powerup)(unsigned int cluster);
224 void (*cpu_suspend_prepare)(unsigned int cpu, unsigned int cluster);
225 void (*cpu_powerdown_prepare)(unsigned int cpu, unsigned int cluster);
226 void (*cluster_powerdown_prepare)(unsigned int cluster);
229 void (*cpu_is_up)(unsigned int cpu, unsigned int cluster);
230 void (*cluster_is_up)(unsigned int cluster);
231 int (*wait_for_powerdown)(unsigned int cpu, unsigned int cluster);
244 * mcpm_sync_init - Initialize the cluster synchronization support
247 * early CPU/cluster bringup stage.
256 * resource that needs to be initialized (e.g. 1 for cluster level, 0 for
272 * hotplugged in. The MCPM state machine is set as if the cluster was
282 * Synchronisation structures for coordinating safe cluster setup/teardown.
293 /* cluster state */
294 s8 cluster __aligned(__CACHE_WRITEBACK_GRANULE);