Searched refs:cpu_policy (Results 1 – 2 of 2) sorted by relevance
889 struct cpufreq_policy *cpu_policy; in powernv_cpufreq_reboot_notifier() local893 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()
2187 struct cpufreq_policy *cpu_policy; in cpufreq_get_policy() local2191 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()