repo: https://github.com/T-head-Semi/linux commit: b1313fe517ca3703119dcc99ef3bbf75ab42bcfb Change-Id: I6cbb35294024ea3a66140e311f4bb705fd7fd626
7 lines
218 B
C
7 lines
218 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#define PATH_TO_CPU "/sys/devices/system/cpu/"
|
|
#define MAX_LINE_LEN 4096
|
|
#define SYSFS_PATH_MAX 255
|
|
|
|
unsigned int cpupower_read_sysfs(const char *path, char *buf, size_t buflen);
|