Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/cpufreq/
Dpowernv-cpufreq.c897 struct cpufreq_policy *cpu_policy; in powernv_cpufreq_reboot_notifier() local
901 cpu_policy = cpufreq_cpu_get(cpu); in powernv_cpufreq_reboot_notifier()
902 if (!cpu_policy) in powernv_cpufreq_reboot_notifier()
904 powernv_cpufreq_target_index(cpu_policy, get_nominal_index()); in powernv_cpufreq_reboot_notifier()
905 cpufreq_cpu_put(cpu_policy); in powernv_cpufreq_reboot_notifier()
Dcpufreq.c2551 struct cpufreq_policy *cpu_policy; in cpufreq_get_policy() local
2555 cpu_policy = cpufreq_cpu_get(cpu); in cpufreq_get_policy()
2556 if (!cpu_policy) in cpufreq_get_policy()
2559 memcpy(policy, cpu_policy, sizeof(*policy)); in cpufreq_get_policy()
2561 cpufreq_cpu_put(cpu_policy); in cpufreq_get_policy()