Searched refs:CSTATE_NAME_LEN (Results 1 – 3 of 3) sorted by relevance
/linux-6.3-rc2/tools/power/cpupower/utils/idle_monitor/ |
A D | cpupower-monitor.h | 22 #define CSTATE_NAME_LEN 7 macro 24 #define CSTATE_NAME_LEN 5 macro 42 char name[CSTATE_NAME_LEN];
|
A D | cpuidle_sysfs.c | 130 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()
|
A D | rapl_monitor.c | 58 strncpy(rapl_zones[rapl_zone_count].name, zone->name, CSTATE_NAME_LEN - 1); in powercap_count_zones()
|
Completed in 5 milliseconds