Searched refs:mcpm_cpu_use_count (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/arch/arm/common/
H A Dmcpm_entry.c186 static int mcpm_cpu_use_count[MAX_NR_CLUSTERS][MAX_CPUS_PER_CLUSTER]; variable
192 cnt |= mcpm_cpu_use_count[cluster][i]; mcpm_cluster_unused()
213 cpu_is_down = !mcpm_cpu_use_count[cluster][cpu]; mcpm_cpu_power_up()
216 mcpm_cpu_use_count[cluster][cpu]++; mcpm_cpu_power_up()
225 BUG_ON(mcpm_cpu_use_count[cluster][cpu] != 1 && mcpm_cpu_power_up()
226 mcpm_cpu_use_count[cluster][cpu] != 2); mcpm_cpu_power_up()
260 mcpm_cpu_use_count[cluster][cpu]--; mcpm_cpu_power_down()
261 BUG_ON(mcpm_cpu_use_count[cluster][cpu] != 0 && mcpm_cpu_power_down()
262 mcpm_cpu_use_count[cluster][cpu] != 1); mcpm_cpu_power_down()
263 cpu_going_down = !mcpm_cpu_use_count[cluster][cpu]; mcpm_cpu_power_down()
356 cpu_was_down = !mcpm_cpu_use_count[cluster][cpu]; mcpm_cpu_powered_up()
362 mcpm_cpu_use_count[cluster][cpu] = 1; mcpm_cpu_powered_up()
445 mcpm_cpu_use_count[this_cluster][i] = 1; for_each_online_cpu()

Completed in 158 milliseconds