Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/events/
H A Drapl.c80 NR_RAPL_DOMAINS = PERF_RAPL_MAX, enumerator
83 static const char *const rapl_domain_names[NR_RAPL_DOMAINS] __initconst = {
135 static int rapl_hw_unit[NR_RAPL_DOMAINS] __read_mostly;
162 if (cfg > NR_RAPL_DOMAINS) { in rapl_scale()
348 if (!cfg || cfg >= NR_RAPL_DOMAINS + 1) in rapl_pmu_event_init()
351 cfg = array_index_nospec((long)cfg, NR_RAPL_DOMAINS + 1); in rapl_pmu_event_init()
609 for (i = 0; i < NR_RAPL_DOMAINS; i++) in rapl_check_hw_unit()
653 for (i = 0; i < NR_RAPL_DOMAINS; i++) { in rapl_advertise()