Home
last modified time | relevance | path

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

/drivers/cpufreq/
Dcpufreq.c775 struct cpufreq_policy new_policy; in store_scaling_governor() local
777 memcpy(&new_policy, policy, sizeof(*policy)); in store_scaling_governor()
784 if (cpufreq_parse_policy(str_governor, &new_policy)) in store_scaling_governor()
787 if (cpufreq_parse_governor(str_governor, &new_policy)) in store_scaling_governor()
791 ret = cpufreq_set_policy(policy, &new_policy); in store_scaling_governor()
793 if (new_policy.governor) in store_scaling_governor()
794 module_put(new_policy.governor->owner); in store_scaling_governor()
1062 struct cpufreq_policy new_policy; in cpufreq_init_policy() local
1064 memcpy(&new_policy, policy, sizeof(*policy)); in cpufreq_init_policy()
1082 new_policy.governor = gov; in cpufreq_init_policy()
[all …]