Home
last modified time | relevance | path

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

/Linux-v5.4/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.c353 if (val & ARCH_PERFMON_EVENTSEL_ENABLE) in op_amd_setup_ctrs()
414 val |= ARCH_PERFMON_EVENTSEL_ENABLE; in op_amd_start()
434 val &= ~ARCH_PERFMON_EVENTSEL_ENABLE; in op_amd_stop()
/Linux-v5.4/arch/x86/events/intel/
Dp6.c144 val &= ~ARCH_PERFMON_EVENTSEL_ENABLE; in p6_pmu_disable_all()
154 val |= ARCH_PERFMON_EVENTSEL_ENABLE; in p6_pmu_enable_all()
Dknc.c183 val &= ~ARCH_PERFMON_EVENTSEL_ENABLE; in knc_pmu_disable_event()
194 val |= ARCH_PERFMON_EVENTSEL_ENABLE; in knc_pmu_enable_event()
Dcore.c2060 ARCH_PERFMON_EVENTSEL_ENABLE); in intel_pmu_nhm_workaround()
2260 __x86_pmu_enable_event(hwc, ARCH_PERFMON_EVENTSEL_ENABLE); in intel_pmu_enable_event()
3383 event->hw.config | ARCH_PERFMON_EVENTSEL_ENABLE; in core_guest_get_msrs()
3386 arr[idx].host &= ~ARCH_PERFMON_EVENTSEL_ENABLE; in core_guest_get_msrs()
3388 arr[idx].guest &= ~ARCH_PERFMON_EVENTSEL_ENABLE; in core_guest_get_msrs()
3413 __x86_pmu_enable_event(hwc, ARCH_PERFMON_EVENTSEL_ENABLE); in core_pmu_enable_all()
/Linux-v5.4/arch/x86/include/asm/
Dperf_event.h29 #define ARCH_PERFMON_EVENTSEL_ENABLE (1ULL << 22) macro
/Linux-v5.4/arch/x86/events/
Dcore.c209 if (val & ARCH_PERFMON_EVENTSEL_ENABLE) { in check_hw_exists()
620 if (!(val & ARCH_PERFMON_EVENTSEL_ENABLE)) in x86_pmu_disable_all()
622 val &= ~ARCH_PERFMON_EVENTSEL_ENABLE; in x86_pmu_disable_all()
668 __x86_pmu_enable_event(hwc, ARCH_PERFMON_EVENTSEL_ENABLE); in x86_pmu_enable_all()
1253 ARCH_PERFMON_EVENTSEL_ENABLE); in x86_pmu_enable_event()
/Linux-v5.4/arch/x86/kvm/
Dpmu.c159 if (!(eventsel & ARCH_PERFMON_EVENTSEL_ENABLE) || !pmc_is_enabled(pmc)) in reprogram_gp_counter()
/Linux-v5.4/arch/x86/events/amd/
Duncore.c109 wrmsrl(hwc->config_base, (hwc->config | ARCH_PERFMON_EVENTSEL_ENABLE)); in amd_uncore_start()