Home
last modified time | relevance | path

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

/Linux-v5.10/arch/arm/common/
Dmcpm_entry.c185 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()
[all …]