/device/huawei/angler/power/ |
power-8992.c | 54 char governor[80]; local 57 if (get_scaling_governor(governor, sizeof(governor)) == -1) { 58 ALOGE("Can't obtain scaling governor."); 79 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 80 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { 92 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 93 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { 117 char governor[80]; local 119 if (get_scaling_governor(governor, sizeof(governor)) == -1) [all...] |
power-8994.c | 100 char governor[80]; local 103 if (get_scaling_governor(governor, sizeof(governor)) == -1) { 104 ALOGE("Can't obtain scaling governor."); 125 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 126 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { 149 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 150 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { 179 char governor[80]; local 181 if (get_scaling_governor(governor, sizeof(governor)) == -1) [all...] |
power.c | 126 char governor[80]; local 129 if (get_scaling_governor(governor, sizeof(governor)) == -1) { 130 ALOGE("Can't obtain scaling governor."); 155 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && 156 (strlen(governor) == strlen(ONDEMAND_GOVERNOR))) { 161 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 162 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { 169 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && 170 (strlen(governor) == strlen(ONDEMAND_GOVERNOR))) 180 char governor[80]; local 397 char governor[80]; local [all...] |
/device/lge/bullhead/power/ |
power-8994.c | 54 char governor[80]; local 57 if (get_scaling_governor(governor, sizeof(governor)) == -1) { 58 ALOGE("Can't obtain scaling governor."); 79 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 80 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { 92 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 93 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { 117 char governor[80]; local 119 if (get_scaling_governor(governor, sizeof(governor)) == -1) [all...] |
power-8992.c | 100 char governor[80]; local 103 if (get_scaling_governor(governor, sizeof(governor)) == -1) { 104 ALOGE("Can't obtain scaling governor."); 125 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 126 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { 149 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 150 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { 179 char governor[80]; local 181 if (get_scaling_governor(governor, sizeof(governor)) == -1) [all...] |
power.c | 120 char governor[80]; local 123 if (get_scaling_governor(governor, sizeof(governor)) == -1) { 124 ALOGE("Can't obtain scaling governor."); 149 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && 150 (strlen(governor) == strlen(ONDEMAND_GOVERNOR))) { 155 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 156 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { 163 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && 164 (strlen(governor) == strlen(ONDEMAND_GOVERNOR))) 174 char governor[80]; local 350 char governor[80]; local [all...] |
/device/google/marlin/power/ |
power-8996.c | 57 char governor[80]; local 60 if (get_scaling_governor(governor, sizeof(governor)) == -1) { 61 ALOGE("Can't obtain scaling governor."); 82 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 83 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { 105 } else if ((strncmp(governor, SCHED_GOVERNOR, strlen(SCHED_GOVERNOR)) == 0) && 106 (strlen(governor) == strlen(SCHED_GOVERNOR))) { 121 if (((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 122 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) | 136 char governor[80]; local 169 char governor[80]; local 308 char governor[80]; local [all...] |
power.c | 130 char governor[80]; local 133 if (get_scaling_governor(governor, sizeof(governor)) == -1) { 134 ALOGE("Can't obtain scaling governor."); 159 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && 160 (strlen(governor) == strlen(ONDEMAND_GOVERNOR))) { 165 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 166 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { 173 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && 174 (strlen(governor) == strlen(ONDEMAND_GOVERNOR))) 184 char governor[80]; local 410 char governor[80]; local 474 char governor[80]; local [all...] |
/external/ltp/testcases/kernel/device-drivers/cpufreq/ |
cpufreq_boost.c | 57 const char governor[] = SYSFS_CPU_DIR "cpu0/cpufreq/scaling_governor"; variable 66 if (governor[0] != '\0') 67 FILE_PRINTF(governor, "%s", governor_name); 96 /* change cpu0 scaling governor */ 97 SAFE_FILE_SCANF(NULL, governor, "%s", governor_name); 98 SAFE_FILE_PRINTF(cleanup, governor, "%s", "performance");
|
/system/extras/tests/sdcard/ |
sysutil.cpp | 269 char governor[FILENAME_MAX]; local 270 sprintf(governor, kScalingGovernorFormat, cpu); 272 if (writeStringToFile(governor, "performance", kSilentIfMissing) < 0) 278 fprintf(stderr, "Failed to write to scaling governor file for cpu %d: %d %s",
|