Home
last modified time | relevance | path

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

/linux-5.19.10/tools/power/x86/intel-speed-select/
Dhfi-events.c176 struct perf_cap { struct
182 static void process_hfi_event(struct perf_cap *perf_cap) in process_hfi_event() argument
184 process_level_change(perf_cap->cpu); in process_hfi_event()
193 struct perf_cap perf_cap = {0}; in handle_event() local
206 perf_cap.cpu = nla_get_u32(cap); in handle_event()
209 perf_cap.perf = nla_get_u32(cap); in handle_event()
212 perf_cap.eff = nla_get_u32(cap); in handle_event()
220 process_hfi_event(&perf_cap); in handle_event()
/linux-5.19.10/arch/x86/kvm/vmx/
Dcapabilities.h390 u64 perf_cap = 0; in vmx_get_perf_capabilities() local
393 return perf_cap; in vmx_get_perf_capabilities()
396 rdmsrl(MSR_IA32_PERF_CAPABILITIES, perf_cap); in vmx_get_perf_capabilities()
398 perf_cap &= PMU_CAP_LBR_FMT; in vmx_get_perf_capabilities()
404 return PMU_CAP_FW_WRITES | perf_cap; in vmx_get_perf_capabilities()
/linux-5.19.10/drivers/thermal/intel/
Dintel_hfi.c85 u8 perf_cap; member
187 cpu_caps[i].performance = caps->perf_cap << 2; in get_hfi_caps()
/linux-5.19.10/arch/x86/events/intel/
Dcore.c4454 union perf_capabilities perf_cap; in intel_pmu_cpu_starting() local
4456 rdmsrl(MSR_IA32_PERF_CAPABILITIES, perf_cap.capabilities); in intel_pmu_cpu_starting()
4457 if (!perf_cap.perf_metrics) { in intel_pmu_cpu_starting()