Lines Matching refs:mcpm_cpu_use_count
185 static int mcpm_cpu_use_count[MAX_NR_CLUSTERS][MAX_CPUS_PER_CLUSTER]; variable
191 cnt |= mcpm_cpu_use_count[cluster][i]; in mcpm_cluster_unused()
212 cpu_is_down = !mcpm_cpu_use_count[cluster][cpu]; in mcpm_cpu_power_up()
215 mcpm_cpu_use_count[cluster][cpu]++; in mcpm_cpu_power_up()
224 BUG_ON(mcpm_cpu_use_count[cluster][cpu] != 1 && in mcpm_cpu_power_up()
225 mcpm_cpu_use_count[cluster][cpu] != 2); in mcpm_cpu_power_up()
259 mcpm_cpu_use_count[cluster][cpu]--; in mcpm_cpu_power_down()
260 BUG_ON(mcpm_cpu_use_count[cluster][cpu] != 0 && in mcpm_cpu_power_down()
261 mcpm_cpu_use_count[cluster][cpu] != 1); in mcpm_cpu_power_down()
262 cpu_going_down = !mcpm_cpu_use_count[cluster][cpu]; in mcpm_cpu_power_down()
355 cpu_was_down = !mcpm_cpu_use_count[cluster][cpu]; in mcpm_cpu_powered_up()
361 mcpm_cpu_use_count[cluster][cpu] = 1; in mcpm_cpu_powered_up()
444 mcpm_cpu_use_count[this_cluster][i] = 1; in mcpm_sync_init()