Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/cpufreq/
Dpowernv-cpufreq.c889 struct cpufreq_policy *cpu_policy; in powernv_cpufreq_reboot_notifier() local
893 cpu_policy = cpufreq_cpu_get(cpu); in powernv_cpufreq_reboot_notifier()
894 if (!cpu_policy) in powernv_cpufreq_reboot_notifier()
896 powernv_cpufreq_target_index(cpu_policy, get_nominal_index()); in powernv_cpufreq_reboot_notifier()
897 cpufreq_cpu_put(cpu_policy); in powernv_cpufreq_reboot_notifier()
Dcpufreq.c2187 struct cpufreq_policy *cpu_policy; in cpufreq_get_policy() local
2191 cpu_policy = cpufreq_cpu_get(cpu); in cpufreq_get_policy()
2192 if (!cpu_policy) in cpufreq_get_policy()
2195 memcpy(policy, cpu_policy, sizeof(*policy)); in cpufreq_get_policy()
2197 cpufreq_cpu_put(cpu_policy); in cpufreq_get_policy()