Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm/mach-exynos/
H A Dmcpm-exynos.c59 unsigned int cpunr = cpu + (cluster * EXYNOS5420_CPUS_PER_CLUSTER); in exynos_cpu_powerup() local
67 state = exynos_cpu_power_state(cpunr); in exynos_cpu_powerup()
68 exynos_cpu_power_up(cpunr); in exynos_cpu_powerup()
94 exynos_cpu_power_down(cpunr); in exynos_cpu_powerup()
118 unsigned int cpunr = cpu + (cluster * EXYNOS5420_CPUS_PER_CLUSTER); in exynos_cpu_powerdown_prepare() local
123 exynos_cpu_power_down(cpunr); in exynos_cpu_powerdown_prepare()
166 unsigned int cpunr = cpu + (cluster * EXYNOS5420_CPUS_PER_CLUSTER); in exynos_wait_for_powerdown() local
174 if ((exynos_cpu_power_state(cpunr) == 0)) in exynos_wait_for_powerdown()
/openbmc/linux/tools/power/cpupower/utils/
H A Dcpufreq-info.c28 unsigned int cpunr = 0; in count_cpus() local
44 if (sscanf(value, "cpu%d ", &cpunr) != 1) in count_cpus()
46 if (cpunr > ret) in count_cpus()
47 ret = cpunr; in count_cpus()