Home
last modified time | relevance | path

Searched refs:CSTATE_NAME_LEN (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/tools/power/cpupower/utils/idle_monitor/
H A Dcpupower-monitor.h22 #define CSTATE_NAME_LEN 7 macro
24 #define CSTATE_NAME_LEN 5 macro
42 char name[CSTATE_NAME_LEN];
H A Dcpuidle_sysfs.c130 if (!strncmp(tmp, "stop0_lite", CSTATE_NAME_LEN)) in map_power_idle_state_name()
132 else if (!strncmp(tmp, "stop1_lite", CSTATE_NAME_LEN)) in map_power_idle_state_name()
134 else if (!strncmp(tmp, "stop2_lite", CSTATE_NAME_LEN)) in map_power_idle_state_name()
162 strncpy(cpuidle_cstates[num].name, tmp, CSTATE_NAME_LEN - 1); in cpuidle_register()
H A Drapl_monitor.c58 strncpy(rapl_zones[rapl_zone_count].name, zone->name, CSTATE_NAME_LEN - 1); in powercap_count_zones()