Home
last modified time | relevance | path

Searched refs:intel_ctrl (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.15/arch/x86/events/
Dperf_event.h642 u64 intel_ctrl; member
801 u64 intel_ctrl; member
1147 u64 intel_ctrl);
1197 u64 intel_ctrl = hybrid(pmu, intel_ctrl); in fixed_counter_disabled() local
1199 return !(intel_ctrl >> (i + INTEL_PMC_IDX_FIXED)); in fixed_counter_disabled()
Dcore.c2035 u64 intel_ctrl) in x86_pmu_show_pmu_cap() argument
2044 << INTEL_PMC_IDX_FIXED) & intel_ctrl)); in x86_pmu_show_pmu_cap()
2045 pr_info("... event mask: %016Lx\n", intel_ctrl); in x86_pmu_show_pmu_cap()
2108 if (!x86_pmu.intel_ctrl) in init_hw_perf_events()
2109 x86_pmu.intel_ctrl = (1 << x86_pmu.num_counters) - 1; in init_hw_perf_events()
2128 x86_pmu.intel_ctrl); in init_hw_perf_events()
/Linux-v5.15/arch/x86/events/intel/
Dcore.c2167 u64 intel_ctrl = hybrid(cpuc->pmu, intel_ctrl); in __intel_pmu_enable_all() local
2171 intel_ctrl & ~cpuc->intel_ctrl_guest_mask); in __intel_pmu_enable_all()
2792 u64 intel_ctrl = hybrid(cpuc->pmu, intel_ctrl); in handle_pmi_common() local
2838 status &= intel_ctrl | GLOBAL_STATUS_TRACE_TOPAPMI; in handle_pmi_common()
3869 u64 intel_ctrl = hybrid(cpuc->pmu, intel_ctrl); in intel_guest_get_msrs() local
3872 arr[0].host = intel_ctrl & ~cpuc->intel_ctrl_guest_mask; in intel_guest_get_msrs()
3873 arr[0].guest = intel_ctrl & ~cpuc->intel_ctrl_host_mask; in intel_guest_get_msrs()
4339 pmu->intel_ctrl); in init_hybrid_pmu()
4391 x86_pmu.intel_ctrl &= ~(1ULL << GLOBAL_CTRL_EN_PERF_METRICS); in intel_pmu_cpu_starting()
5398 u64 *intel_ctrl, u64 fixed_mask) in intel_pmu_check_num_counters() argument
[all …]
/Linux-v5.15/arch/x86/events/zhaoxin/
Dcore.c262 wrmsrl(MSR_CORE_PERF_GLOBAL_CTRL, x86_pmu.intel_ctrl); in zhaoxin_pmu_enable_all()
601 x86_pmu.intel_ctrl = (1 << (x86_pmu.num_counters)) - 1; in zhaoxin_pmu_init()
602 x86_pmu.intel_ctrl |= ((1LL << x86_pmu.num_counters_fixed)-1) << INTEL_PMC_IDX_FIXED; in zhaoxin_pmu_init()