Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / tools / power / cpupower / lib / cpupower_intern.h
blob5fdb8620d41ba5e60210e4b1bc07ddc70beadd2e
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #define PATH_TO_CPU "/sys/devices/system/cpu/"
4 #ifndef MAX_LINE_LEN
5 #define MAX_LINE_LEN 4096
6 #endif
8 #define SYSFS_PATH_MAX 255
10 int is_valid_path(const char *path);
11 unsigned int cpupower_read_sysfs(const char *path, char *buf, size_t buflen);
12 unsigned int cpupower_write_sysfs(const char *path, char *buf, size_t buflen);