Home
last modified time | relevance | path

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

/openbmc/linux/drivers/xen/
H A 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()
/openbmc/linux/drivers/cpufreq/
H A Dacpi-cpufreq.c65 static struct acpi_processor_performance __percpu *acpi_perf_data; variable
69 return per_cpu_ptr(acpi_perf_data, data->acpi_perf_cpu); in to_perf_data()
535 free_cpumask_var(per_cpu_ptr(acpi_perf_data, i) in free_acpi_perf_data()
537 free_percpu(acpi_perf_data); in free_acpi_perf_data()
562 acpi_perf_data = alloc_percpu(struct acpi_processor_performance); in acpi_cpufreq_early_init()
563 if (!acpi_perf_data) { in acpi_cpufreq_early_init()
569 &per_cpu_ptr(acpi_perf_data, i)->shared_cpu_map, in acpi_cpufreq_early_init()
579 acpi_processor_preregister_performance(acpi_perf_data); in acpi_cpufreq_early_init()
704 perf = per_cpu_ptr(acpi_perf_data, cpu); in acpi_cpufreq_cpu_init()
H A Dintel_pstate.c249 struct acpi_processor_performance acpi_perf_data; member
451 ret = acpi_processor_register_performance(&cpu->acpi_perf_data, in intel_pstate_init_acpi_perf_limits()
461 if (cpu->acpi_perf_data.control_register.space_id != in intel_pstate_init_acpi_perf_limits()
469 if (cpu->acpi_perf_data.state_count < 2) in intel_pstate_init_acpi_perf_limits()
473 for (i = 0; i < cpu->acpi_perf_data.state_count; i++) { in intel_pstate_init_acpi_perf_limits()
475 (i == cpu->acpi_perf_data.state ? '*' : ' '), i, in intel_pstate_init_acpi_perf_limits()
476 (u32) cpu->acpi_perf_data.states[i].core_frequency, in intel_pstate_init_acpi_perf_limits()
477 (u32) cpu->acpi_perf_data.states[i].power, in intel_pstate_init_acpi_perf_limits()
478 (u32) cpu->acpi_perf_data.states[i].control); in intel_pstate_init_acpi_perf_limits()