Home
last modified time | relevance | path

Searched refs:perf_caps (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/cpufreq/
H A Dcppc_cpufreq.c83 ref_perf = cpu_data->perf_caps.reference_perf; in __cppc_scale_freq_tick()
92 local_freq_scale = div64_u64(perf, cpu_data->perf_caps.highest_perf); in __cppc_scale_freq_tick()
297 struct cppc_perf_caps *caps = &cpu_data->perf_caps; in cppc_cpufreq_get_perf_limits()
331 cppc_khz_to_perf(&cpu_data->perf_caps, target_freq); in cppc_cpufreq_set_target()
356 desired_perf = cppc_khz_to_perf(&cpu_data->perf_caps, target_freq); in cppc_cpufreq_fast_switch()
431 struct cppc_perf_caps *perf_caps; in get_perf_level_count() local
437 perf_caps = &cpu_data->perf_caps; in get_perf_level_count()
439 min_cap = div_u64((u64)max_cap * perf_caps->lowest_perf, in get_perf_level_count()
440 perf_caps->highest_perf); in get_perf_level_count()
465 struct cppc_perf_caps *perf_caps; in cppc_get_cpu_power() local
[all …]
/linux/tools/testing/selftests/kvm/x86/
H A Dpmu_counters_test.c383 pr_info("Testing arch events, PMU version %u, perf_caps = %lx\n", in guest_test_rdpmc()
556 pr_info("Testing %u GP counters, PMU version %u, perf_caps = %lx\n", in guest_test_fixed_counters()
640 pr_info("Testing %u fixed counters, PMU version %u, perf_caps = %lx\n", in test_intel_counters()
662 const u64 perf_caps[] = { in test_intel_counters()
698 for (i = 0; i < ARRAY_SIZE(perf_caps); i++) {
699 if (!kvm_has_perf_caps && perf_caps[i])
702 test_arch_events(v, perf_caps[i]);
703 test_gp_counters(v, perf_caps[i]);
704 test_fixed_counters(v, perf_caps[i]);
592 const u64 perf_caps[] = { test_intel_counters() local
/linux/drivers/base/
H A Darch_topology.c330 struct cppc_perf_caps perf_caps; in topology_init_cpu_capacity_cppc() local
342 if (!cppc_get_perf_caps(cpu, &perf_caps) && in topology_init_cpu_capacity_cppc()
343 (perf_caps.highest_perf >= perf_caps.nominal_perf) && in topology_init_cpu_capacity_cppc()
344 (perf_caps.highest_perf >= perf_caps.lowest_perf)) { in topology_init_cpu_capacity_cppc()
345 raw_capacity[cpu] = perf_caps.highest_perf; in topology_init_cpu_capacity_cppc()
348 per_cpu(capacity_freq_ref, cpu) = cppc_perf_to_khz(&perf_caps, raw_capacity[cpu]); in topology_init_cpu_capacity_cppc()
/linux/drivers/acpi/
H A Dcppc_acpi.c1488 int cppc_get_perf_caps(int cpunum, struct cppc_perf_caps *perf_caps) in cppc_get_perf_caps() argument
1537 perf_caps->highest_perf = high; in cppc_get_perf_caps()
1542 perf_caps->lowest_perf = low; in cppc_get_perf_caps()
1547 perf_caps->nominal_perf = nom; in cppc_get_perf_caps()
1560 perf_caps->reference_perf = ref; in cppc_get_perf_caps()
1564 perf_caps->guaranteed_perf = 0; in cppc_get_perf_caps()
1569 perf_caps->guaranteed_perf = guaranteed; in cppc_get_perf_caps()
1575 perf_caps->lowest_nonlinear_perf = min_nonlinear; in cppc_get_perf_caps()
1595 perf_caps->lowest_freq = low_f; in cppc_get_perf_caps()
1596 perf_caps->nominal_freq = nom_f; in cppc_get_perf_caps()
/linux/include/acpi/
H A Dcppc_acpi.h154 struct cppc_perf_caps perf_caps; member