Home
last modified time | relevance | path

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

/linux/tools/power/cpupower/lib/
H A 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()
H A Dcpupower_intern.h4 #ifndef MAX_LINE_LEN
5 #define MAX_LINE_LEN 4096 macro
H A Dpowercap.h17 #define MAX_LINE_LEN 4096 macro
23 char name[MAX_LINE_LEN];
H A 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()
H A 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()
H A Dacpi_cppc.c42 char linebuf[MAX_LINE_LEN]; in acpi_cppc_get_data()
/linux/tools/power/cpupower/utils/helpers/
H A 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()
H A 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()
H A Dsysfs.h6 #define MAX_LINE_LEN 255 macro
/linux/drivers/gpu/drm/xe/
H A 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/tools/power/cpupower/utils/
H A Dpowercap-info.c58 char line[MAX_LINE_LEN] = ""; in powercap_show()
61 ret = powercap_get_driver(line, MAX_LINE_LEN); in powercap_show()
/linux/tools/power/cpupower/utils/idle_monitor/
H A Drapl_monitor.c105 char line[MAX_LINE_LEN] = ""; in rapl_register()
108 ret = powercap_get_driver(line, MAX_LINE_LEN); in rapl_register()
/linux/tools/power/cpupower/bindings/python/
H A Draw_pylibcpupower.i
/linux/drivers/soundwire/
H A 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/drivers/gpu/drm/
H A 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()