Searched refs:x86_pmu_config_addr (Results 1 – 4 of 4) sorted by relevance
212 if (!reserve_evntsel_nmi(x86_pmu_config_addr(i))) in reserve_pmc_hardware()220 release_evntsel_nmi(x86_pmu_config_addr(i)); in reserve_pmc_hardware()237 release_evntsel_nmi(x86_pmu_config_addr(i)); in release_pmc_hardware()260 reg = x86_pmu_config_addr(i); in check_hw_exists()684 rdmsrl(x86_pmu_config_addr(idx), val); in x86_pmu_disable_all()688 wrmsrl(x86_pmu_config_addr(idx), val); in x86_pmu_disable_all()690 wrmsrl(x86_pmu_config_addr(idx + 1), 0); in x86_pmu_disable_all()1238 hwc->config_base = x86_pmu_config_addr(hwc->idx); in x86_assign_hw_event()1564 rdmsrl(x86_pmu_config_addr(idx), pmc_ctrl); in perf_event_print_debug()
1062 static inline unsigned int x86_pmu_config_addr(int index) in x86_pmu_config_addr() function1118 wrmsrl(x86_pmu_config_addr(hwc->idx + 1), x86_pmu.perf_ctr_pair_en); in __x86_pmu_enable_event()1139 wrmsrl(x86_pmu_config_addr(hwc->idx + 1), 0); in x86_pmu_disable_event()
1382 reg = x86_pmu_config_addr(i); in p4_pmu_init()
2759 wrmsrl_safe(x86_pmu_config_addr(idx), 0ull); in intel_pmu_reset()3907 arr[idx].msr = x86_pmu_config_addr(idx); in core_guest_get_msrs()