Searched refs:new_policy (Results 1 – 1 of 1) sorted by relevance
591 struct cpufreq_policy *new_policy);601 struct cpufreq_policy new_policy; \603 ret = cpufreq_get_policy(&new_policy, policy->cpu); \607 ret = sscanf(buf, "%u", &new_policy.object); \611 ret = cpufreq_set_policy(policy, &new_policy); \655 struct cpufreq_policy new_policy; in store_scaling_governor() local657 ret = cpufreq_get_policy(&new_policy, policy->cpu); in store_scaling_governor()665 if (cpufreq_parse_governor(str_governor, &new_policy.policy, in store_scaling_governor()666 &new_policy.governor)) in store_scaling_governor()669 ret = cpufreq_set_policy(policy, &new_policy); in store_scaling_governor()[all …]