/device/google/dragon/power/ |
D | power_dragon.cpp | 76 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 …]
|
D | timed_qos_manager.cpp | 15 sysfs_write(mNodeName, mEnterCmd); in enter() 20 sysfs_write(mNodeName, mExitCmd); in exit()
|
D | timed_qos_manager.h | 18 extern void sysfs_write(const char *path, const char *s);
|
/device/linaro/hikey/power/ |
D | power_hikey.c | 74 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/ |
D | power.c | 373 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()
|
D | utils.h | 33 int sysfs_write(char *path, char *s);
|
D | utils.c | 130 int sysfs_write(char *path, char *s) in sysfs_write() function
|
/device/lge/bullhead/power/ |
D | power.c | 435 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()
|
D | utils.h | 33 int sysfs_write(char *path, char *s);
|
D | utils.c | 130 int sysfs_write(char *path, char *s) in sysfs_write() function
|
/device/google/marlin/power/ |
D | power.c | 559 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()
|
D | utils.h | 38 int sysfs_write(char *path, char *s);
|
D | utils.c | 143 int sysfs_write(char *path, char *s) in sysfs_write() function
|
/device/asus/fugu/power/ |
D | power.c | 42 static ssize_t sysfs_write(char *path, char *s) in sysfs_write() function 158 sysfs_write(BOOST_PULSE_SYSFS, "1"); in fugu_power_hint()
|