Home
last modified time | relevance | path

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

/device/huawei/angler/power/
Dpower-8992.c54 char governor[80]; in process_video_encode_hint() local
57 if (get_scaling_governor(governor, sizeof(governor)) == -1) { in process_video_encode_hint()
79 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint()
80 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in process_video_encode_hint()
92 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint()
93 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in process_video_encode_hint()
117 char governor[80]; in set_interactive_override() local
119 if (get_scaling_governor(governor, sizeof(governor)) == -1) { in set_interactive_override()
127 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in set_interactive_override()
128 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in set_interactive_override()
[all …]
Dpower-8994.c100 char governor[80]; in process_video_encode_hint() local
103 if (get_scaling_governor(governor, sizeof(governor)) == -1) { in process_video_encode_hint()
125 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint()
126 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in process_video_encode_hint()
149 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint()
150 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in process_video_encode_hint()
179 char governor[80]; in set_interactive_override() local
181 if (get_scaling_governor(governor, sizeof(governor)) == -1) { in set_interactive_override()
189 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in set_interactive_override()
190 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in set_interactive_override()
[all …]
Dpower.c131 char governor[80]; in process_video_decode_hint() local
134 if (get_scaling_governor(governor, sizeof(governor)) == -1) { in process_video_decode_hint()
160 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && in process_video_decode_hint()
161 (strlen(governor) == strlen(ONDEMAND_GOVERNOR))) { in process_video_decode_hint()
166 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_decode_hint()
167 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in process_video_decode_hint()
174 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && in process_video_decode_hint()
175 (strlen(governor) == strlen(ONDEMAND_GOVERNOR))) { in process_video_decode_hint()
176 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_decode_hint()
177 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in process_video_decode_hint()
[all …]
Dutils.c156 int get_scaling_governor(char governor[], int size) in get_scaling_governor() argument
158 if (sysfs_read(SCALING_GOVERNOR_PATH, governor, in get_scaling_governor()
164 int len = strlen(governor); in get_scaling_governor()
168 while (len >= 0 && (governor[len] == '\n' || governor[len] == '\r')) in get_scaling_governor()
169 governor[len--] = '\0'; in get_scaling_governor()
Dutils.h34 int get_scaling_governor(char governor[], int size);
/device/lge/bullhead/power/
Dpower-8994.c54 char governor[80]; in process_video_encode_hint() local
57 if (get_scaling_governor(governor, sizeof(governor)) == -1) { in process_video_encode_hint()
79 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint()
80 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in process_video_encode_hint()
92 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint()
93 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in process_video_encode_hint()
117 char governor[80]; in set_interactive_override() local
119 if (get_scaling_governor(governor, sizeof(governor)) == -1) { in set_interactive_override()
127 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in set_interactive_override()
128 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in set_interactive_override()
[all …]
Dpower-8992.c100 char governor[80]; in process_video_encode_hint() local
103 if (get_scaling_governor(governor, sizeof(governor)) == -1) { in process_video_encode_hint()
125 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint()
126 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in process_video_encode_hint()
149 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint()
150 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in process_video_encode_hint()
179 char governor[80]; in set_interactive_override() local
181 if (get_scaling_governor(governor, sizeof(governor)) == -1) { in set_interactive_override()
189 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in set_interactive_override()
190 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in set_interactive_override()
[all …]
Dpower.c124 char governor[80]; in process_video_decode_hint() local
127 if (get_scaling_governor(governor, sizeof(governor)) == -1) { in process_video_decode_hint()
153 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && in process_video_decode_hint()
154 (strlen(governor) == strlen(ONDEMAND_GOVERNOR))) { in process_video_decode_hint()
159 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_decode_hint()
160 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in process_video_decode_hint()
167 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && in process_video_decode_hint()
168 (strlen(governor) == strlen(ONDEMAND_GOVERNOR))) { in process_video_decode_hint()
169 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_decode_hint()
170 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { in process_video_decode_hint()
[all …]
Dutils.c156 int get_scaling_governor(char governor[], int size) in get_scaling_governor() argument
158 if (sysfs_read(SCALING_GOVERNOR_PATH, governor, in get_scaling_governor()
164 int len = strlen(governor); in get_scaling_governor()
168 while (len >= 0 && (governor[len] == '\n' || governor[len] == '\r')) in get_scaling_governor()
169 governor[len--] = '\0'; in get_scaling_governor()
Dutils.h34 int get_scaling_governor(char governor[], int size);
/device/moto/shamu/sepolicy/
Dmpdecision.te1 # CPU governor (root process)
/device/asus/fugu/
Dinit.fugu.rc83 # Performance tweaks for interactive governor
101 # Tune interactive governor parameters for Android TV UI animations
/device/huawei/angler/
Dinit.angler.power.sh104 get-set-forall /sys/class/devfreq/qcom,cpubw*/governor bw_hwmon
/device/lge/bullhead/
Dinit.bullhead.power.sh116 get-set-forall /sys/class/devfreq/qcom,cpubw*/governor bw_hwmon
/device/moto/shamu/
Dinit.shamu.power.rc16 # Shamu boots with performance governor.
/device/google/dragon/
Dinit.dragon.rc201 # tune thermal governor