Searched refs:new_policy (Results 1 – 1 of 1) sorted by relevance
775 struct cpufreq_policy new_policy; in store_scaling_governor() local777 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() local1064 memcpy(&new_policy, policy, sizeof(*policy)); in cpufreq_init_policy()1082 new_policy.governor = gov; in cpufreq_init_policy()[all …]