Lines Matching full:cluster
58 static int exynos_cpu_powerup(unsigned int cpu, unsigned int cluster) in exynos_cpu_powerup() argument
60 unsigned int cpunr = cpu + (cluster * EXYNOS5420_CPUS_PER_CLUSTER); in exynos_cpu_powerup()
62 pr_debug("%s: cpu %u cluster %u\n", __func__, cpu, cluster); in exynos_cpu_powerup()
64 cluster >= EXYNOS5420_NR_CLUSTERS) in exynos_cpu_powerup()
71 * This assumes the cluster number of the big cores(Cortex A15) in exynos_cpu_powerup()
76 if (cluster && in exynos_cpu_powerup()
77 cluster == MPIDR_AFFINITY_LEVEL(cpu_logical_map(0), 1)) { in exynos_cpu_powerup()
95 static int exynos_cluster_powerup(unsigned int cluster) in exynos_cluster_powerup() argument
97 pr_debug("%s: cluster %u\n", __func__, cluster); in exynos_cluster_powerup()
98 if (cluster >= EXYNOS5420_NR_CLUSTERS) in exynos_cluster_powerup()
101 exynos_cluster_power_up(cluster); in exynos_cluster_powerup()
105 static void exynos_cpu_powerdown_prepare(unsigned int cpu, unsigned int cluster) in exynos_cpu_powerdown_prepare() argument
107 unsigned int cpunr = cpu + (cluster * EXYNOS5420_CPUS_PER_CLUSTER); in exynos_cpu_powerdown_prepare()
109 pr_debug("%s: cpu %u cluster %u\n", __func__, cpu, cluster); in exynos_cpu_powerdown_prepare()
111 cluster >= EXYNOS5420_NR_CLUSTERS); in exynos_cpu_powerdown_prepare()
115 static void exynos_cluster_powerdown_prepare(unsigned int cluster) in exynos_cluster_powerdown_prepare() argument
117 pr_debug("%s: cluster %u\n", __func__, cluster); in exynos_cluster_powerdown_prepare()
118 BUG_ON(cluster >= EXYNOS5420_NR_CLUSTERS); in exynos_cluster_powerdown_prepare()
119 exynos_cluster_power_down(cluster); in exynos_cluster_powerdown_prepare()
142 /* Flush all cache levels for this cluster. */ in exynos_cluster_cache_disable()
146 * Disable cluster-level coherency by masking in exynos_cluster_cache_disable()
152 static int exynos_wait_for_powerdown(unsigned int cpu, unsigned int cluster) in exynos_wait_for_powerdown() argument
155 unsigned int cpunr = cpu + (cluster * EXYNOS5420_CPUS_PER_CLUSTER); in exynos_wait_for_powerdown()
157 pr_debug("%s: cpu %u cluster %u\n", __func__, cpu, cluster); in exynos_wait_for_powerdown()
159 cluster >= EXYNOS5420_NR_CLUSTERS); in exynos_wait_for_powerdown()
173 static void exynos_cpu_is_up(unsigned int cpu, unsigned int cluster) in exynos_cpu_is_up() argument
176 exynos_cpu_powerup(cpu, cluster); in exynos_cpu_is_up()
191 * Enable cluster-level coherency, in preparation for turning on the MMU.
274 * in a cluster are turned off before turning off the cluster L2. in exynos_mcpm_init()
279 * EXYNOS5420_USE_L2_COMMON_UP_STATE ensures that cluster L2 will be in exynos_mcpm_init()