Home
last modified time | relevance | path

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

/linux/arch/x86/events/
H A Dcore.c269 unsigned long *fixed_cntr_mask) in check_hw_exists() argument
294 if (*(u64 *)fixed_cntr_mask) { in check_hw_exists()
299 for_each_set_bit(i, fixed_cntr_mask, X86_PMC_IDX_MAX) { in check_hw_exists()
1560 unsigned long *cntr_mask, *fixed_cntr_mask; in perf_event_print_debug() local
1571 fixed_cntr_mask = hybrid(cpuc->pmu, fixed_cntr_mask); in perf_event_print_debug()
1612 for_each_set_bit(idx, fixed_cntr_mask, X86_PMC_IDX_MAX) { in perf_event_print_debug()
2164 if (!check_hw_exists(&pmu, x86_pmu.cntr_mask, x86_pmu.fixed_cntr_mask)) in init_hw_perf_events()
2560 if (!test_bit(i - INTEL_PMC_IDX_FIXED, hybrid(cpuc->pmu, fixed_cntr_mask))) in perf_clear_dirty_counters()
H A Dperf_event.h746 unsigned long fixed_cntr_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)]; member
859 unsigned long fixed_cntr_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)]; member
1238 unsigned long *fixed_cntr_mask);
/linux/arch/x86/events/intel/
H A Dcore.c3422 unsigned long *fixed_cntr_mask = hybrid(cpuc->pmu, fixed_cntr_mask); in intel_pmu_reset() local
3437 for_each_set_bit(idx, fixed_cntr_mask, INTEL_PMC_MAX_FIXED) { in intel_pmu_reset()
5668 u64 *fixed_cntr_mask, in intel_pmu_check_counters_mask() argument
5681 bit = fls64(*fixed_cntr_mask); in intel_pmu_check_counters_mask()
5685 *fixed_cntr_mask &= GENMASK_ULL(INTEL_PMC_MAX_FIXED - 1, 0); in intel_pmu_check_counters_mask()
5688 *intel_ctrl |= *fixed_cntr_mask << INTEL_PMC_IDX_FIXED; in intel_pmu_check_counters_mask()
5693 u64 fixed_cntr_mask,
5840 u64 fixed_cntr_mask = hybrid(pmu, fixed_cntr_mask64); in intel_pmu_check_event_constraints_all() local
5844 fixed_cntr_mask, intel_ctrl); in intel_pmu_check_event_constraints_all()
6044 if (!check_hw_exists(&pmu->pmu, pmu->cntr_mask, pmu->fixed_cntr_mask)) in init_hybrid_pmu()
[all …]