Home
last modified time | relevance | path

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

/device/google/dragon/power/
Dpower_dragon.cpp76 void sysfs_write(const char *path, const char *s) in sysfs_write() function
107 sysfs_write("/sys/devices/system/cpu/cpufreq/interactive/timer_rate", in power_init()
109 sysfs_write("/sys/devices/system/cpu/cpufreq/interactive/timer_slack", in power_init()
111 sysfs_write("/sys/devices/system/cpu/cpufreq/interactive/min_sample_time", in power_init()
113 sysfs_write("/sys/devices/system/cpu/cpufreq/interactive/hispeed_freq", in power_init()
115 sysfs_write("/sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load", in power_init()
117 sysfs_write("/sys/devices/system/cpu/cpufreq/interactive/target_loads", in power_init()
119 sysfs_write("/sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay", in power_init()
121 sysfs_write("/sys/devices/system/cpu/cpufreq/interactive/boostpulse_duration", in power_init()
123 sysfs_write("/sys/devices/system/cpu/cpufreq/interactive/io_is_busy", "0"); in power_init()
[all …]
Dtimed_qos_manager.cpp15 sysfs_write(mNodeName, mEnterCmd); in enter()
20 sysfs_write(mNodeName, mExitCmd); in exit()
Dtimed_qos_manager.h18 extern void sysfs_write(const char *path, const char *s);
/device/linaro/hikey/power/
Dpower_hikey.c74 static int sysfs_write(const char *path, char *s) in sysfs_write() function
118 if (sysfs_write("/sys/devices/system/cpu/cpufreq/interactive/timer_rate", in interactive_power_init()
121 sysfs_write("/sys/devices/system/cpu/cpufreq/interactive/timer_slack", in interactive_power_init()
123 sysfs_write("/sys/devices/system/cpu/cpufreq/interactive/min_sample_time", in interactive_power_init()
125 sysfs_write("/sys/devices/system/cpu/cpufreq/interactive/hispeed_freq", in interactive_power_init()
127 sysfs_write("/sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load", in interactive_power_init()
129 sysfs_write("/sys/devices/system/cpu/cpufreq/interactive/target_loads", in interactive_power_init()
131 sysfs_write("/sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay", in interactive_power_init()
133 sysfs_write("/sys/devices/system/cpu/cpufreq/interactive/boostpulse_duration", in interactive_power_init()
135 sysfs_write("/sys/devices/system/cpu/cpufreq/interactive/io_is_busy", "0"); in interactive_power_init()
[all …]
/device/huawei/angler/power/
Dpower.c373 sysfs_write(GPU_MAX_FREQ_PATH, "305000000"); in power_hint()
380 sysfs_write(GPU_MAX_FREQ_PATH, "600000000"); in power_hint()
482 if (sysfs_write(DCVS_CPU0_SLACK_MAX_NODE, tmp_str) != 0) { in set_interactive()
494 if (sysfs_write(DCVS_CPU0_SLACK_MIN_NODE, tmp_str) != 0) { in set_interactive()
506 if (sysfs_write(MPDECISION_SLACK_MAX_NODE, tmp_str) != 0) { in set_interactive()
518 if (sysfs_write(MPDECISION_SLACK_MIN_NODE, tmp_str) != 0) { in set_interactive()
547 if (sysfs_write(DCVS_CPU0_SLACK_MAX_NODE, tmp_str) != 0) { in set_interactive()
559 if (sysfs_write(DCVS_CPU0_SLACK_MIN_NODE, tmp_str) != 0) { in set_interactive()
571 if (sysfs_write(MPDECISION_SLACK_MAX_NODE, tmp_str) != 0) { in set_interactive()
583 if (sysfs_write(MPDECISION_SLACK_MIN_NODE, tmp_str) != 0) { in set_interactive()
Dutils.h33 int sysfs_write(char *path, char *s);
Dutils.c130 int sysfs_write(char *path, char *s) in sysfs_write() function
/device/lge/bullhead/power/
Dpower.c435 if (sysfs_write(DCVS_CPU0_SLACK_MAX_NODE, tmp_str) != 0) { in set_interactive()
447 if (sysfs_write(DCVS_CPU0_SLACK_MIN_NODE, tmp_str) != 0) { in set_interactive()
459 if (sysfs_write(MPDECISION_SLACK_MAX_NODE, tmp_str) != 0) { in set_interactive()
471 if (sysfs_write(MPDECISION_SLACK_MIN_NODE, tmp_str) != 0) { in set_interactive()
500 if (sysfs_write(DCVS_CPU0_SLACK_MAX_NODE, tmp_str) != 0) { in set_interactive()
512 if (sysfs_write(DCVS_CPU0_SLACK_MIN_NODE, tmp_str) != 0) { in set_interactive()
524 if (sysfs_write(MPDECISION_SLACK_MAX_NODE, tmp_str) != 0) { in set_interactive()
536 if (sysfs_write(MPDECISION_SLACK_MIN_NODE, tmp_str) != 0) { in set_interactive()
Dutils.h33 int sysfs_write(char *path, char *s);
Dutils.c130 int sysfs_write(char *path, char *s) in sysfs_write() function
/device/google/marlin/power/
Dpower.c559 if (sysfs_write(DCVS_CPU0_SLACK_MAX_NODE, tmp_str) != 0) { in set_interactive()
571 if (sysfs_write(DCVS_CPU0_SLACK_MIN_NODE, tmp_str) != 0) { in set_interactive()
583 if (sysfs_write(MPDECISION_SLACK_MAX_NODE, tmp_str) != 0) { in set_interactive()
595 if (sysfs_write(MPDECISION_SLACK_MIN_NODE, tmp_str) != 0) { in set_interactive()
624 if (sysfs_write(DCVS_CPU0_SLACK_MAX_NODE, tmp_str) != 0) { in set_interactive()
636 if (sysfs_write(DCVS_CPU0_SLACK_MIN_NODE, tmp_str) != 0) { in set_interactive()
648 if (sysfs_write(MPDECISION_SLACK_MAX_NODE, tmp_str) != 0) { in set_interactive()
660 if (sysfs_write(MPDECISION_SLACK_MIN_NODE, tmp_str) != 0) { in set_interactive()
Dutils.h38 int sysfs_write(char *path, char *s);
Dutils.c143 int sysfs_write(char *path, char *s) in sysfs_write() function
/device/asus/fugu/power/
Dpower.c42 static ssize_t sysfs_write(char *path, char *s) in sysfs_write() function
158 sysfs_write(BOOST_PULSE_SYSFS, "1"); in fugu_power_hint()