Searched refs:x86_pmu_config_addr (Results 1 – 4 of 4) sorted by relevance
215 if (!reserve_evntsel_nmi(x86_pmu_config_addr(i))) in reserve_pmc_hardware()223 release_evntsel_nmi(x86_pmu_config_addr(i)); in reserve_pmc_hardware()240 release_evntsel_nmi(x86_pmu_config_addr(i)); in release_pmc_hardware()263 reg = x86_pmu_config_addr(i); in check_hw_exists()688 rdmsrl(x86_pmu_config_addr(idx), val); in x86_pmu_disable_all()692 wrmsrl(x86_pmu_config_addr(idx), val); in x86_pmu_disable_all()694 wrmsrl(x86_pmu_config_addr(idx + 1), 0); in x86_pmu_disable_all()1244 hwc->config_base = x86_pmu_config_addr(hwc->idx); in x86_assign_hw_event()1559 rdmsrl(x86_pmu_config_addr(idx), pmc_ctrl); in perf_event_print_debug()
1096 static inline unsigned int x86_pmu_config_addr(int index) in x86_pmu_config_addr() function1157 wrmsrl(x86_pmu_config_addr(hwc->idx + 1), x86_pmu.perf_ctr_pair_en); in __x86_pmu_enable_event()1178 wrmsrl(x86_pmu_config_addr(hwc->idx + 1), 0); in x86_pmu_disable_event()
1399 reg = x86_pmu_config_addr(i); in p4_pmu_init()
2892 wrmsrl_safe(x86_pmu_config_addr(idx), 0ull); in intel_pmu_reset()4140 arr[idx].msr = x86_pmu_config_addr(idx); in core_guest_get_msrs()