Home
last modified time | relevance | path

Searched refs:ARCH_PERFMON_EVENTSEL_ENABLE (Results 1 – 9 of 9) sorted by relevance

/arch/x86/oprofile/
Dop_model_ppro.c100 if (val & ARCH_PERFMON_EVENTSEL_ENABLE) in ppro_setup_ctrs()
166 val |= ARCH_PERFMON_EVENTSEL_ENABLE; in ppro_start()
182 val &= ~ARCH_PERFMON_EVENTSEL_ENABLE; in ppro_stop()
Dop_model_amd.c354 if (val & ARCH_PERFMON_EVENTSEL_ENABLE) in op_amd_setup_ctrs()
415 val |= ARCH_PERFMON_EVENTSEL_ENABLE; in op_amd_start()
435 val &= ~ARCH_PERFMON_EVENTSEL_ENABLE; in op_amd_stop()
/arch/x86/kernel/cpu/
Dperf_event_p6.c143 val &= ~ARCH_PERFMON_EVENTSEL_ENABLE; in p6_pmu_disable_all()
153 val |= ARCH_PERFMON_EVENTSEL_ENABLE; in p6_pmu_enable_all()
Dperf_event_knc.c182 val &= ~ARCH_PERFMON_EVENTSEL_ENABLE; in knc_pmu_disable_event()
193 val |= ARCH_PERFMON_EVENTSEL_ENABLE; in knc_pmu_enable_event()
Dperf_event_intel.c1147 ARCH_PERFMON_EVENTSEL_ENABLE); in intel_pmu_nhm_workaround()
1290 __x86_pmu_enable_event(hwc, ARCH_PERFMON_EVENTSEL_ENABLE); in intel_pmu_enable_event()
1819 event->hw.config | ARCH_PERFMON_EVENTSEL_ENABLE; in core_guest_get_msrs()
1822 arr[idx].host &= ~ARCH_PERFMON_EVENTSEL_ENABLE; in core_guest_get_msrs()
1824 arr[idx].guest &= ~ARCH_PERFMON_EVENTSEL_ENABLE; in core_guest_get_msrs()
1849 __x86_pmu_enable_event(hwc, ARCH_PERFMON_EVENTSEL_ENABLE); in core_pmu_enable_all()
Dperf_event.c201 if (val & ARCH_PERFMON_EVENTSEL_ENABLE) { in check_hw_exists()
503 if (!(val & ARCH_PERFMON_EVENTSEL_ENABLE)) in x86_pmu_disable_all()
505 val &= ~ARCH_PERFMON_EVENTSEL_ENABLE; in x86_pmu_disable_all()
538 __x86_pmu_enable_event(hwc, ARCH_PERFMON_EVENTSEL_ENABLE); in x86_pmu_enable_all()
1016 ARCH_PERFMON_EVENTSEL_ENABLE); in x86_pmu_enable_event()
Dperf_event_amd_uncore.c101 wrmsrl(hwc->config_base, (hwc->config | ARCH_PERFMON_EVENTSEL_ENABLE)); in amd_uncore_start()
/arch/x86/include/asm/
Dperf_event.h28 #define ARCH_PERFMON_EVENTSEL_ENABLE (1ULL << 22) macro
/arch/x86/kvm/
Dpmu.c229 if (!(eventsel & ARCH_PERFMON_EVENTSEL_ENABLE) || !pmc_enabled(pmc)) in reprogram_gp_counter()