Searched refs:perf_caps (Results 1 - 7 of 7) sorted by relevance
/linux-master/drivers/cpufreq/ |
H A D | cppc_cpufreq.c | 124 local_freq_scale = div64_u64(perf, cpu_data->perf_caps.highest_perf); 297 desired_perf = cppc_khz_to_perf(&cpu_data->perf_caps, target_freq); 325 desired_perf = cppc_khz_to_perf(&cpu_data->perf_caps, target_freq); 390 struct cppc_perf_caps *perf_caps; local 396 perf_caps = &cpu_data->perf_caps; 398 min_cap = div_u64((u64)max_cap * perf_caps->lowest_perf, 399 perf_caps->highest_perf); 424 struct cppc_perf_caps *perf_caps; local 429 perf_caps 488 struct cppc_perf_caps *perf_caps; local [all...] |
H A D | acpi-cpufreq.c | 633 struct cppc_perf_caps perf_caps; local 640 ret = cppc_get_perf_caps(cpu, &perf_caps); 650 highest_perf = perf_caps.highest_perf; 652 nominal_perf = perf_caps.nominal_perf;
|
/linux-master/arch/x86/kernel/acpi/ |
H A D | cppc.c | 71 struct cppc_perf_caps perf_caps; local 76 rc = cppc_get_perf_caps(0, &perf_caps); 83 nominal_perf = perf_caps.nominal_perf;
|
/linux-master/tools/testing/selftests/kvm/x86_64/ |
H A D | pmu_counters_test.c | 549 const uint64_t perf_caps[] = { local 577 for (i = 0; i < ARRAY_SIZE(perf_caps); i++) { 578 if (!kvm_has_perf_caps && perf_caps[i]) 581 pr_info("Testing arch events, PMU version %u, perf_caps = %lx\n", 582 v, perf_caps[i]); 591 test_arch_events(v, perf_caps[i], nr_arch_events, k); 601 test_arch_events(v, perf_caps[i], j, 0); 602 test_arch_events(v, perf_caps[i], j, 0xff); 605 test_arch_events(v, perf_caps[i], j, BIT(k)); 608 pr_info("Testing GP counters, PMU version %u, perf_caps [all...] |
/linux-master/include/acpi/ |
H A D | cppc_acpi.h | 132 struct cppc_perf_caps perf_caps; member in struct:cppc_cpudata 160 extern int cppc_get_auto_sel_caps(int cpunum, struct cppc_perf_caps *perf_caps); 231 static inline int cppc_get_auto_sel_caps(int cpunum, struct cppc_perf_caps *perf_caps) argument
|
/linux-master/drivers/base/ |
H A D | arch_topology.c | 371 struct cppc_perf_caps perf_caps; local 383 if (!cppc_get_perf_caps(cpu, &perf_caps) && 384 (perf_caps.highest_perf >= perf_caps.nominal_perf) && 385 (perf_caps.highest_perf >= perf_caps.lowest_perf)) { 386 raw_capacity[cpu] = perf_caps.highest_perf; 389 per_cpu(capacity_freq_ref, cpu) = cppc_perf_to_khz(&perf_caps, raw_capacity[cpu]);
|
/linux-master/drivers/acpi/ |
H A D | cppc_acpi.c | 1231 * @perf_caps: ptr to cppc_perf_caps. See cppc_acpi.h 1233 * Return: 0 for success with perf_caps populated else -ERRNO. 1235 int cppc_get_perf_caps(int cpunum, struct cppc_perf_caps *perf_caps) argument 1278 perf_caps->highest_perf = high; 1281 perf_caps->lowest_perf = low; 1284 perf_caps->nominal_perf = nom; 1288 perf_caps->guaranteed_perf = 0; 1291 perf_caps->guaranteed_perf = guaranteed; 1295 perf_caps->lowest_nonlinear_perf = min_nonlinear; 1307 perf_caps 1499 cppc_get_auto_sel_caps(int cpunum, struct cppc_perf_caps *perf_caps) argument [all...] |
Completed in 182 milliseconds