Home
last modified time | relevance | path

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

/openbmc/linux/tools/power/cpupower/utils/
H A Dcpufreq-set.c146 struct cpufreq_policy *cur_pol = cpufreq_get_policy(cpu); in do_new_policy() local
149 if (!cur_pol) { in do_new_policy()
155 new_pol->min = cur_pol->min; in do_new_policy()
158 new_pol->max = cur_pol->max; in do_new_policy()
161 new_pol->governor = cur_pol->governor; in do_new_policy()
165 cpufreq_put_policy(cur_pol); in do_new_policy()