1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 2ac5a181dSThomas Renninger #define PATH_TO_CPU "/sys/devices/system/cpu/" 3ac5a181dSThomas Renninger #define MAX_LINE_LEN 4096 4ac5a181dSThomas Renninger #define SYSFS_PATH_MAX 255 5ac5a181dSThomas Renninger 69de9aa45SKonstantin Khlebnikov unsigned int cpupower_read_sysfs(const char *path, char *buf, size_t buflen); 7