Home
last modified time | relevance | path

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

/Linux-v5.10/arch/x86/events/
Dcore.c189 if (!reserve_evntsel_nmi(x86_pmu_config_addr(i))) in reserve_pmc_hardware()
197 release_evntsel_nmi(x86_pmu_config_addr(i)); in reserve_pmc_hardware()
214 release_evntsel_nmi(x86_pmu_config_addr(i)); in release_pmc_hardware()
237 reg = x86_pmu_config_addr(i); in check_hw_exists()
658 rdmsrl(x86_pmu_config_addr(idx), val); in x86_pmu_disable_all()
662 wrmsrl(x86_pmu_config_addr(idx), val); in x86_pmu_disable_all()
664 wrmsrl(x86_pmu_config_addr(idx + 1), 0); in x86_pmu_disable_all()
1187 hwc->config_base = x86_pmu_config_addr(hwc->idx); in x86_assign_hw_event()
1513 rdmsrl(x86_pmu_config_addr(idx), pmc_ctrl); in perf_event_print_debug()
Dperf_event.h942 static inline unsigned int x86_pmu_config_addr(int index) in x86_pmu_config_addr() function
995 wrmsrl(x86_pmu_config_addr(hwc->idx + 1), x86_pmu.perf_ctr_pair_en); in __x86_pmu_enable_event()
1015 wrmsrl(x86_pmu_config_addr(hwc->idx + 1), 0); in x86_pmu_disable_event()
/Linux-v5.10/arch/x86/events/intel/
Dp4.c1372 reg = x86_pmu_config_addr(i); in p4_pmu_init()
Dcore.c2559 wrmsrl_safe(x86_pmu_config_addr(idx), 0ull); in intel_pmu_reset()
3730 arr[idx].msr = x86_pmu_config_addr(idx); in core_guest_get_msrs()