Searched refs:fixed_cntr_mask (Results 1 – 3 of 3) sorted by relevance
| /linux-6.15/arch/x86/events/ |
| H A D | core.c | 259 unsigned long *fixed_cntr_mask) in check_hw_exists() argument 284 if (*(u64 *)fixed_cntr_mask) { in check_hw_exists() 289 for_each_set_bit(i, fixed_cntr_mask, X86_PMC_IDX_MAX) { in check_hw_exists() 1535 unsigned long *cntr_mask, *fixed_cntr_mask; in perf_event_print_debug() local 1546 fixed_cntr_mask = hybrid(cpuc->pmu, fixed_cntr_mask); in perf_event_print_debug() 1587 for_each_set_bit(idx, fixed_cntr_mask, X86_PMC_IDX_MAX) { in perf_event_print_debug() 2101 if (!check_hw_exists(&pmu, x86_pmu.cntr_mask, x86_pmu.fixed_cntr_mask)) in init_hw_perf_events() 2496 if (!test_bit(i - INTEL_PMC_IDX_FIXED, hybrid(cpuc->pmu, fixed_cntr_mask))) in perf_clear_dirty_counters()
|
| H A D | perf_event.h | 715 unsigned long fixed_cntr_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)]; member 813 unsigned long fixed_cntr_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)]; member 1172 unsigned long *fixed_cntr_mask);
|
| /linux-6.15/arch/x86/events/intel/ |
| H A D | core.c | 2967 unsigned long *fixed_cntr_mask = hybrid(cpuc->pmu, fixed_cntr_mask); in intel_pmu_reset() local 2982 for_each_set_bit(idx, fixed_cntr_mask, INTEL_PMC_MAX_FIXED) { in intel_pmu_reset() 5004 u64 *fixed_cntr_mask, in intel_pmu_check_counters_mask() argument 5017 bit = fls64(*fixed_cntr_mask); in intel_pmu_check_counters_mask() 5021 *fixed_cntr_mask &= GENMASK_ULL(INTEL_PMC_MAX_FIXED - 1, 0); in intel_pmu_check_counters_mask() 5024 *intel_ctrl |= *fixed_cntr_mask << INTEL_PMC_IDX_FIXED; in intel_pmu_check_counters_mask() 5029 u64 fixed_cntr_mask, 5157 if (!check_hw_exists(&pmu->pmu, pmu->cntr_mask, pmu->fixed_cntr_mask)) in init_hybrid_pmu() 6395 u64 fixed_cntr_mask, in intel_pmu_check_event_constraints() argument 6434 c->idxmsk64 &= cntr_mask | (fixed_cntr_mask << INTEL_PMC_IDX_FIXED); in intel_pmu_check_event_constraints()
|