Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/events/intel/
H A Duncore.h22 #define UNCORE_PMC_IDX_MAX (UNCORE_PMC_IDX_FREERUNNING + \ macro
145 struct perf_event *events[UNCORE_PMC_IDX_MAX];
146 struct perf_event *event_list[UNCORE_PMC_IDX_MAX];
147 struct event_constraint *event_constraint[UNCORE_PMC_IDX_MAX];
148 unsigned long active_mask[BITS_TO_LONGS(UNCORE_PMC_IDX_MAX)];
149 u64 tags[UNCORE_PMC_IDX_MAX];
H A Duncore.c324 for_each_set_bit(bit, box->active_mask, UNCORE_PMC_IDX_MAX) in uncore_pmu_hrtimer()
460 unsigned long used_mask[BITS_TO_LONGS(UNCORE_PMC_IDX_MAX)]; in uncore_assign_events()
465 bitmap_zero(used_mask, UNCORE_PMC_IDX_MAX); in uncore_assign_events()
467 for (i = 0, wmin = UNCORE_PMC_IDX_MAX, wmax = 0; i < n; i++) { in uncore_assign_events()
512 if (WARN_ON_ONCE(idx == -1 || idx >= UNCORE_PMC_IDX_MAX)) in uncore_pmu_event_start()
584 int assign[UNCORE_PMC_IDX_MAX]; in uncore_pmu_event_add()