Searched refs:ARCH_PERFMON_EVENTSEL_ENABLE (Results 1 – 10 of 10) sorted by relevance
144 val &= ~ARCH_PERFMON_EVENTSEL_ENABLE; in p6_pmu_disable_all()154 val |= ARCH_PERFMON_EVENTSEL_ENABLE; in p6_pmu_enable_all()
183 val &= ~ARCH_PERFMON_EVENTSEL_ENABLE; in knc_pmu_disable_event()194 val |= ARCH_PERFMON_EVENTSEL_ENABLE; in knc_pmu_enable_event()
2337 ARCH_PERFMON_EVENTSEL_ENABLE); in intel_pmu_nhm_workaround()2779 __x86_pmu_enable_event(hwc, ARCH_PERFMON_EVENTSEL_ENABLE); in intel_pmu_enable_event()4111 event->hw.config | ARCH_PERFMON_EVENTSEL_ENABLE; in core_guest_get_msrs()4114 arr[idx].host &= ~ARCH_PERFMON_EVENTSEL_ENABLE; in core_guest_get_msrs()4116 arr[idx].guest &= ~ARCH_PERFMON_EVENTSEL_ENABLE; in core_guest_get_msrs()4141 __x86_pmu_enable_event(hwc, ARCH_PERFMON_EVENTSEL_ENABLE); in core_pmu_enable_all()
22 #define ARCH_PERFMON_EVENTSEL_ENABLE (1ULL << 22) macro137 wrmsr(MSR_P6_EVNTSEL0, ARCH_PERFMON_EVENTSEL_ENABLE | in intel_guest_code()162 wrmsr(MSR_K7_EVNTSEL0, ARCH_PERFMON_EVENTSEL_ENABLE | in amd_guest_code()
158 return pmc->eventsel & ARCH_PERFMON_EVENTSEL_ENABLE; in pmc_speculative_in_use()
31 #define ARCH_PERFMON_EVENTSEL_ENABLE (1ULL << 22) macro
267 if (val & ARCH_PERFMON_EVENTSEL_ENABLE) { in check_hw_exists()689 if (!(val & ARCH_PERFMON_EVENTSEL_ENABLE)) in x86_pmu_disable_all()691 val &= ~ARCH_PERFMON_EVENTSEL_ENABLE; in x86_pmu_disable_all()745 __x86_pmu_enable_event(hwc, ARCH_PERFMON_EVENTSEL_ENABLE); in x86_pmu_enable_all()1428 ARCH_PERFMON_EVENTSEL_ENABLE); in x86_pmu_enable_event()
21 #define AMD_MERGE_EVENT_ENABLE (AMD_MERGE_EVENT | ARCH_PERFMON_EVENTSEL_ENABLE)749 __x86_pmu_enable_event(hwc, ARCH_PERFMON_EVENTSEL_ENABLE); in amd_pmu_v2_enable_event()
109 wrmsrl(hwc->config_base, (hwc->config | ARCH_PERFMON_EVENTSEL_ENABLE)); in amd_uncore_start()
347 __x86_pmu_enable_event(hwc, ARCH_PERFMON_EVENTSEL_ENABLE); in zhaoxin_pmu_enable_event()