Home
last modified time | relevance | path

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

/linux-6.12.1/tools/power/cpupower/lib/
Dcpupower_intern.h4 #ifndef MAX_LINE_LEN
5 #define MAX_LINE_LEN 4096 macro
Dcpupower.c80 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()
Dpowercap.h17 #define MAX_LINE_LEN 4096 macro
23 char name[MAX_LINE_LEN];
Dcpufreq.c93 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()
Dcpuidle.c141 char linebuf[MAX_LINE_LEN]; in cpuidle_state_get_one_value()
179 char linebuf[MAX_LINE_LEN]; in cpuidle_state_get_one_string()
352 char linebuf[MAX_LINE_LEN]; in sysfs_cpuidle_get_one_string()
Dpowercap.c130 char buf[MAX_LINE_LEN]; in sysfs_powercap_get64_val()
136 ret = sysfs_read_file(file, buf, MAX_LINE_LEN); in sysfs_powercap_get64_val()
208 sysfs_read_file(file, zone->name, MAX_LINE_LEN); in powercap_read_zone()
Dacpi_cppc.c42 char linebuf[MAX_LINE_LEN]; in acpi_cppc_get_data()
/linux-6.12.1/tools/power/cpupower/utils/helpers/
Dsysfs.c53 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()
Dmisc.c53 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()
Dsysfs.h6 #define MAX_LINE_LEN 255 macro
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_gen_wa_oob.c54 #define MAX_LINE_LEN 4096 macro
57 char line[MAX_LINE_LEN + 1]; in parse()
71 if (linelen == MAX_LINE_LEN) { in parse()
/linux-6.12.1/tools/power/cpupower/utils/
Dpowercap-info.c58 char line[MAX_LINE_LEN] = ""; in powercap_show()
61 ret = powercap_get_driver(line, MAX_LINE_LEN); in powercap_show()
/linux-6.12.1/tools/power/cpupower/utils/idle_monitor/
Drapl_monitor.c105 char line[MAX_LINE_LEN] = ""; in rapl_register()
108 ret = powercap_get_driver(line, MAX_LINE_LEN); in rapl_register()
/linux-6.12.1/drivers/soundwire/
Ddebugfs.c257 #define MAX_LINE_LEN 128 macro
261 char buf[MAX_LINE_LEN]; in read_buffer_show()
268 scnprintf(buf, MAX_LINE_LEN, "address %#x val 0x%02x\n", in read_buffer_show()
/linux-6.12.1/tools/power/cpupower/bindings/python/
Draw_pylibcpupower.swg18 #define MAX_LINE_LEN 4096
211 char name[MAX_LINE_LEN];
/linux-6.12.1/drivers/gpu/drm/
Ddrm_debugfs_crc.c282 #define MAX_LINE_LEN (LINE_LEN(DRM_MAX_CRC_NR)) macro
290 char buf[MAX_LINE_LEN]; in crtc_crc_read()