Home
last modified time | relevance | path

Searched refs:acpi_perf_data (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/xen/
Dxen-acpi-processor.c449 static struct acpi_processor_performance __percpu *acpi_perf_data; variable
457 free_cpumask_var(per_cpu_ptr(acpi_perf_data, i) in free_acpi_perf_data()
459 free_percpu(acpi_perf_data); in free_acpi_perf_data()
529 acpi_perf_data = alloc_percpu(struct acpi_processor_performance); in xen_acpi_processor_init()
530 if (!acpi_perf_data) { in xen_acpi_processor_init()
537 &per_cpu_ptr(acpi_perf_data, i)->shared_cpu_map, in xen_acpi_processor_init()
545 (void)acpi_processor_preregister_performance(acpi_perf_data); in xen_acpi_processor_init()
552 perf = per_cpu_ptr(acpi_perf_data, i); in xen_acpi_processor_init()
/linux-6.12.1/drivers/cpufreq/
Dacpi-cpufreq.c63 static struct acpi_processor_performance __percpu *acpi_perf_data; variable
67 return per_cpu_ptr(acpi_perf_data, data->acpi_perf_cpu); in to_perf_data()
533 free_cpumask_var(per_cpu_ptr(acpi_perf_data, i) in free_acpi_perf_data()
535 free_percpu(acpi_perf_data); in free_acpi_perf_data()
560 acpi_perf_data = alloc_percpu(struct acpi_processor_performance); in acpi_cpufreq_early_init()
561 if (!acpi_perf_data) { in acpi_cpufreq_early_init()
567 &per_cpu_ptr(acpi_perf_data, i)->shared_cpu_map, in acpi_cpufreq_early_init()
577 acpi_processor_preregister_performance(acpi_perf_data); in acpi_cpufreq_early_init()
708 perf = per_cpu_ptr(acpi_perf_data, cpu); in acpi_cpufreq_cpu_init()
Dintel_pstate.c247 struct acpi_processor_performance acpi_perf_data; member
455 ret = acpi_processor_register_performance(&cpu->acpi_perf_data, in intel_pstate_init_acpi_perf_limits()
465 if (cpu->acpi_perf_data.control_register.space_id != in intel_pstate_init_acpi_perf_limits()
473 if (cpu->acpi_perf_data.state_count < 2) in intel_pstate_init_acpi_perf_limits()
477 for (i = 0; i < cpu->acpi_perf_data.state_count; i++) { in intel_pstate_init_acpi_perf_limits()
479 (i == cpu->acpi_perf_data.state ? '*' : ' '), i, in intel_pstate_init_acpi_perf_limits()
480 (u32) cpu->acpi_perf_data.states[i].core_frequency, in intel_pstate_init_acpi_perf_limits()
481 (u32) cpu->acpi_perf_data.states[i].power, in intel_pstate_init_acpi_perf_limits()
482 (u32) cpu->acpi_perf_data.states[i].control); in intel_pstate_init_acpi_perf_limits()