Home
last modified time | relevance | path

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

/tools/power/cpupower/lib/
Dcpufreq.c554 static int verify_gov(char *new_gov, char *passed_gov) in verify_gov() argument
561 strncpy(new_gov, passed_gov, 20); in verify_gov()
564 new_gov[i] = '\0'; in verify_gov()
567 if ((new_gov[i] >= 'a') && (new_gov[i] <= 'z')) in verify_gov()
570 if ((new_gov[i] >= 'A') && (new_gov[i] <= 'Z')) in verify_gov()
573 if (new_gov[i] == '-') in verify_gov()
576 if (new_gov[i] == '_') in verify_gov()
579 if (new_gov[i] == '\0') { in verify_gov()
585 new_gov[19] = '\0'; in verify_gov()
660 char new_gov[SYSFS_PATH_MAX]; in cpufreq_modify_policy_governor() local
[all …]