Searched refs:PATH_TO_POWERCAP (Results 1 – 2 of 2) sorted by relevance
75 char path[SYSFS_PATH_MAX] = PATH_TO_POWERCAP "/intel-rapl/enabled"; in powercap_get_enabled()128 char file[SYSFS_PATH_MAX] = PATH_TO_POWERCAP "/"; in sysfs_powercap_get64_val()168 char path[SYSFS_PATH_MAX] = PATH_TO_POWERCAP; in powercap_zone_get_enabled()170 if ((strlen(PATH_TO_POWERCAP) + strlen(zone->sys_name)) + in powercap_zone_get_enabled()192 char sysfs_dir[SYSFS_PATH_MAX] = PATH_TO_POWERCAP; in powercap_read_zone()194 char file[SYSFS_PATH_MAX] = PATH_TO_POWERCAP; in powercap_read_zone()
10 #define PATH_TO_POWERCAP "/sys/devices/virtual/powercap" macro