Searched refs:cpu_gov (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/cmd/hal/addons/cpufreq/ |
H A D | addon-cpufreq.c | 80 char cpu_gov[EDIT_TYPE_SIZE]; member 176 if ((pc_edit_type.cpu_gov == NULL) || in edit_power_conf_file() 177 ((strcmp (pc_edit_type.cpu_gov, "ondemand") != 0) && in edit_power_conf_file() 178 (strcmp (pc_edit_type.cpu_gov, "performance") != 0))) { in edit_power_conf_file() 185 if (strcmp (pc_edit_type.cpu_gov, "ondemand") == 0) { in edit_power_conf_file() 384 sprintf (pc_value->cpu_gov, in read_power_conf_file() 387 sprintf (pc_value->cpu_gov, in read_power_conf_file() 446 sprintf (cur_value->cpu_gov, "%s", "ondemand"); in get_cur_val() 450 sprintf (cur_value->cpu_gov, "%s", "performance"); in get_cur_val() 465 sprintf (cur_value->cpu_gov, "%s", "ondemand"); in get_cur_val() [all …]
|