Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/power/cpupower/lib/
A Dcpufreq.c570 strncpy(new_gov, passed_gov, 20); in verify_gov()
573 new_gov[i] = '\0'; in verify_gov()
576 if ((new_gov[i] >= 'a') && (new_gov[i] <= 'z')) in verify_gov()
579 if ((new_gov[i] >= 'A') && (new_gov[i] <= 'Z')) in verify_gov()
582 if (new_gov[i] == '-') in verify_gov()
585 if (new_gov[i] == '_') in verify_gov()
588 if (new_gov[i] == '\0') { in verify_gov()
594 new_gov[19] = '\0'; in verify_gov()
669 char new_gov[SYSFS_PATH_MAX]; in cpufreq_modify_policy_governor() local
674 if (verify_gov(new_gov, governor)) in cpufreq_modify_policy_governor()
[all …]
/linux-6.3-rc2/drivers/thermal/
A Dthermal_core.c96 struct thermal_governor *new_gov) in thermal_set_governor() argument
103 if (new_gov && new_gov->bind_to_tz) { in thermal_set_governor()
104 ret = new_gov->bind_to_tz(tz); in thermal_set_governor()
106 bind_previous_governor(tz, new_gov->name); in thermal_set_governor()
112 tz->governor = new_gov; in thermal_set_governor()
/linux-6.3-rc2/drivers/cpufreq/
A Dcpufreq.c82 struct cpufreq_governor *new_gov,
790 struct cpufreq_governor *new_gov; in store_scaling_governor() local
792 new_gov = cpufreq_parse_governor(str_governor); in store_scaling_governor()
793 if (!new_gov) in store_scaling_governor()
796 ret = cpufreq_set_policy(policy, new_gov, in store_scaling_governor()
799 module_put(new_gov->owner); in store_scaling_governor()
2534 struct cpufreq_governor *new_gov, in cpufreq_set_policy() argument
2584 if (new_gov == policy->governor) { in cpufreq_set_policy()
2601 policy->governor = new_gov; in cpufreq_set_policy()

Completed in 19 milliseconds