Searched refs:MAX_LINE_LEN (Results 1 – 13 of 13) sorted by relevance
/Linux-v6.6/tools/power/cpupower/lib/ |
D | cpupower_intern.h | 4 #ifndef MAX_LINE_LEN 5 #define MAX_LINE_LEN 4096 macro
|
D | cpupower.c | 80 char linebuf[MAX_LINE_LEN]; in cpupower_is_cpu_online() 101 numread = read(fd, linebuf, MAX_LINE_LEN - 1); in cpupower_is_cpu_online() 119 char linebuf[MAX_LINE_LEN]; in sysfs_topology_read_file() 125 if (cpupower_read_sysfs(path, linebuf, MAX_LINE_LEN) == 0) in sysfs_topology_read_file()
|
D | powercap.h | 17 #define MAX_LINE_LEN 4096 macro 23 char name[MAX_LINE_LEN];
|
D | cpufreq.c | 93 char linebuf[MAX_LINE_LEN]; in cpufreq_get_sysfs_value_from_table() 138 char linebuf[MAX_LINE_LEN]; in sysfs_cpufreq_get_one_string() 275 char linebuf[MAX_LINE_LEN]; in cpufreq_get_available_governors() 350 char linebuf[MAX_LINE_LEN]; in cpufreq_get_available_frequencies() 406 char linebuf[MAX_LINE_LEN]; in cpufreq_get_boost_frequencies() 482 char linebuf[MAX_LINE_LEN]; in sysfs_get_cpu_list() 713 char linebuf[MAX_LINE_LEN]; in cpufreq_get_stats()
|
D | cpuidle.c | 139 char linebuf[MAX_LINE_LEN]; in cpuidle_state_get_one_value() 177 char linebuf[MAX_LINE_LEN]; in cpuidle_state_get_one_string() 344 char linebuf[MAX_LINE_LEN]; in sysfs_cpuidle_get_one_string()
|
D | powercap.c | 122 char buf[MAX_LINE_LEN]; in sysfs_powercap_get64_val() 128 ret = sysfs_read_file(file, buf, MAX_LINE_LEN); in sysfs_powercap_get64_val() 200 sysfs_read_file(file, zone->name, MAX_LINE_LEN); in powercap_read_zone()
|
D | acpi_cppc.c | 42 char linebuf[MAX_LINE_LEN]; in acpi_cppc_get_data()
|
/Linux-v6.6/tools/power/cpupower/utils/helpers/ |
D | sysfs.c | 53 char linebuf[MAX_LINE_LEN]; in sysfs_is_cpu_online() 74 numread = read(fd, linebuf, MAX_LINE_LEN - 1); in sysfs_is_cpu_online() 209 char linebuf[MAX_LINE_LEN]; in sysfs_idlestate_get_one_value() 247 char linebuf[MAX_LINE_LEN]; in sysfs_idlestate_get_one_string() 414 char linebuf[MAX_LINE_LEN]; in sysfs_cpuidle_get_one_string()
|
D | misc.c | 53 char linebuf[MAX_LINE_LEN]; in cpupower_intel_get_perf_bias() 63 if (cpupower_read_sysfs(path, linebuf, MAX_LINE_LEN) == 0) in cpupower_intel_get_perf_bias()
|
D | sysfs.h | 6 #define MAX_LINE_LEN 255 macro
|
/Linux-v6.6/tools/power/cpupower/utils/ |
D | powercap-info.c | 58 char line[MAX_LINE_LEN] = ""; in powercap_show() 61 ret = powercap_get_driver(line, MAX_LINE_LEN); in powercap_show()
|
/Linux-v6.6/tools/power/cpupower/utils/idle_monitor/ |
D | rapl_monitor.c | 105 char line[MAX_LINE_LEN] = ""; in rapl_register() 108 ret = powercap_get_driver(line, MAX_LINE_LEN); in rapl_register()
|
/Linux-v6.6/drivers/gpu/drm/ |
D | drm_debugfs_crc.c | 282 #define MAX_LINE_LEN (LINE_LEN(DRM_MAX_CRC_NR)) macro 290 char buf[MAX_LINE_LEN]; in crtc_crc_read()
|