Lines Matching refs:cluster
59 static int exynos_cpu_powerup(unsigned int cpu, unsigned int cluster) in exynos_cpu_powerup() argument
61 unsigned int cpunr = cpu + (cluster * EXYNOS5420_CPUS_PER_CLUSTER); in exynos_cpu_powerup()
64 pr_debug("%s: cpu %u cluster %u\n", __func__, cpu, cluster); in exynos_cpu_powerup()
66 cluster >= EXYNOS5420_NR_CLUSTERS) in exynos_cpu_powerup()
78 if (cluster && in exynos_cpu_powerup()
79 cluster == MPIDR_AFFINITY_LEVEL(cpu_logical_map(0), 1)) { in exynos_cpu_powerup()
95 cpu, cluster); in exynos_cpu_powerup()
108 static int exynos_cluster_powerup(unsigned int cluster) in exynos_cluster_powerup() argument
110 pr_debug("%s: cluster %u\n", __func__, cluster); in exynos_cluster_powerup()
111 if (cluster >= EXYNOS5420_NR_CLUSTERS) in exynos_cluster_powerup()
114 exynos_cluster_power_up(cluster); in exynos_cluster_powerup()
118 static void exynos_cpu_powerdown_prepare(unsigned int cpu, unsigned int cluster) in exynos_cpu_powerdown_prepare() argument
120 unsigned int cpunr = cpu + (cluster * EXYNOS5420_CPUS_PER_CLUSTER); in exynos_cpu_powerdown_prepare()
122 pr_debug("%s: cpu %u cluster %u\n", __func__, cpu, cluster); in exynos_cpu_powerdown_prepare()
124 cluster >= EXYNOS5420_NR_CLUSTERS); in exynos_cpu_powerdown_prepare()
128 static void exynos_cluster_powerdown_prepare(unsigned int cluster) in exynos_cluster_powerdown_prepare() argument
130 pr_debug("%s: cluster %u\n", __func__, cluster); in exynos_cluster_powerdown_prepare()
131 BUG_ON(cluster >= EXYNOS5420_NR_CLUSTERS); in exynos_cluster_powerdown_prepare()
132 exynos_cluster_power_down(cluster); in exynos_cluster_powerdown_prepare()
165 static int exynos_wait_for_powerdown(unsigned int cpu, unsigned int cluster) in exynos_wait_for_powerdown() argument
168 unsigned int cpunr = cpu + (cluster * EXYNOS5420_CPUS_PER_CLUSTER); in exynos_wait_for_powerdown()
170 pr_debug("%s: cpu %u cluster %u\n", __func__, cpu, cluster); in exynos_wait_for_powerdown()
172 cluster >= EXYNOS5420_NR_CLUSTERS); in exynos_wait_for_powerdown()
186 static void exynos_cpu_is_up(unsigned int cpu, unsigned int cluster) in exynos_cpu_is_up() argument
189 exynos_cpu_powerup(cpu, cluster); in exynos_cpu_is_up()