Searched refs:sysfs_read (Results 1 – 4 of 4) sorted by relevance
/device/google/marlin/power/ |
D | utils.c | 116 int sysfs_read(char *path, char *s, int num_bytes) in sysfs_read() function 172 if (sysfs_read(SCALING_GOVERNOR_PATH, governor, in get_scaling_governor() 192 if (sysfs_read(scaling_gov_path[core_num], governor, in get_scaling_governor_check_cores()
|
D | utils.h | 37 int sysfs_read(char *path, char *s, int num_bytes);
|
D | power-helper.c | 400 if (sysfs_read(DCVS_CPU0_SLACK_MAX_NODE, tmp_str, NODE_MAX - 1)) { in power_set_interactive() 410 if (sysfs_read(DCVS_CPU0_SLACK_MIN_NODE, tmp_str, NODE_MAX - 1)) { in power_set_interactive() 420 if (sysfs_read(MPDECISION_SLACK_MAX_NODE, tmp_str, NODE_MAX - 1)) { in power_set_interactive() 430 if (sysfs_read(MPDECISION_SLACK_MIN_NODE, tmp_str, NODE_MAX - 1)) { in power_set_interactive()
|
/device/linaro/hikey/power/ |
D | power_hikey.c | 128 static int sysfs_read(const char *path, char *s, int slen) in sysfs_read() function 238 sysfs_read(devfreq_ddr_min_path, devfreq_ddr_min_orig, in hikey_devfreq_init() 246 sysfs_read(devfreq_gpu_min_path, devfreq_gpu_min_orig, in hikey_devfreq_init() 392 len = sysfs_read(hikey_cpufreq_clusters[i].path, in hikey_cpufreq_init()
|