Lines Matching refs:cluster
65 static int exynos_cpu_powerup(unsigned int cpu, unsigned int cluster) in exynos_cpu_powerup() argument
67 unsigned int cpunr = cpu + (cluster * EXYNOS5420_CPUS_PER_CLUSTER); in exynos_cpu_powerup()
69 pr_debug("%s: cpu %u cluster %u\n", __func__, cpu, cluster); in exynos_cpu_powerup()
71 cluster >= EXYNOS5420_NR_CLUSTERS) in exynos_cpu_powerup()
83 if (cluster && in exynos_cpu_powerup()
84 cluster == MPIDR_AFFINITY_LEVEL(cpu_logical_map(0), 1)) { in exynos_cpu_powerup()
102 static int exynos_cluster_powerup(unsigned int cluster) in exynos_cluster_powerup() argument
104 pr_debug("%s: cluster %u\n", __func__, cluster); in exynos_cluster_powerup()
105 if (cluster >= EXYNOS5420_NR_CLUSTERS) in exynos_cluster_powerup()
108 exynos_cluster_power_up(cluster); in exynos_cluster_powerup()
112 static void exynos_cpu_powerdown_prepare(unsigned int cpu, unsigned int cluster) in exynos_cpu_powerdown_prepare() argument
114 unsigned int cpunr = cpu + (cluster * EXYNOS5420_CPUS_PER_CLUSTER); in exynos_cpu_powerdown_prepare()
116 pr_debug("%s: cpu %u cluster %u\n", __func__, cpu, cluster); in exynos_cpu_powerdown_prepare()
118 cluster >= EXYNOS5420_NR_CLUSTERS); in exynos_cpu_powerdown_prepare()
122 static void exynos_cluster_powerdown_prepare(unsigned int cluster) in exynos_cluster_powerdown_prepare() argument
124 pr_debug("%s: cluster %u\n", __func__, cluster); in exynos_cluster_powerdown_prepare()
125 BUG_ON(cluster >= EXYNOS5420_NR_CLUSTERS); in exynos_cluster_powerdown_prepare()
126 exynos_cluster_power_down(cluster); in exynos_cluster_powerdown_prepare()
159 static int exynos_wait_for_powerdown(unsigned int cpu, unsigned int cluster) in exynos_wait_for_powerdown() argument
162 unsigned int cpunr = cpu + (cluster * EXYNOS5420_CPUS_PER_CLUSTER); in exynos_wait_for_powerdown()
164 pr_debug("%s: cpu %u cluster %u\n", __func__, cpu, cluster); in exynos_wait_for_powerdown()
166 cluster >= EXYNOS5420_NR_CLUSTERS); in exynos_wait_for_powerdown()
180 static void exynos_cpu_is_up(unsigned int cpu, unsigned int cluster) in exynos_cpu_is_up() argument
183 exynos_cpu_powerup(cpu, cluster); in exynos_cpu_is_up()