Home
last modified time | relevance | path

Searched refs:cpu_cstate_entry (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/kernel/acpi/
H A Dcstate.c108 static struct cstate_entry __percpu *cpu_cstate_entry; /* per CPU ptr */ variable
167 if (!cpu_cstate_entry || c->cpuid_level < CPUID_MWAIT_LEAF) in acpi_processor_ffh_cstate_probe()
173 percpu_entry = per_cpu_ptr(cpu_cstate_entry, cpu); in acpi_processor_ffh_cstate_probe()
204 percpu_entry = per_cpu_ptr(cpu_cstate_entry, cpu); in acpi_processor_ffh_cstate_enter()
218 cpu_cstate_entry = alloc_percpu(struct cstate_entry); in ffh_cstate_init()
224 free_percpu(cpu_cstate_entry); in ffh_cstate_exit()
225 cpu_cstate_entry = NULL; in ffh_cstate_exit()
/kernel/linux/linux-6.6/arch/x86/kernel/acpi/
H A Dcstate.c116 static struct cstate_entry __percpu *cpu_cstate_entry; /* per CPU ptr */ variable
175 if (!cpu_cstate_entry || c->cpuid_level < CPUID_MWAIT_LEAF) in acpi_processor_ffh_cstate_probe()
181 percpu_entry = per_cpu_ptr(cpu_cstate_entry, cpu); in acpi_processor_ffh_cstate_probe()
212 percpu_entry = per_cpu_ptr(cpu_cstate_entry, cpu); in acpi_processor_ffh_cstate_enter()
227 cpu_cstate_entry = alloc_percpu(struct cstate_entry); in ffh_cstate_init()
233 free_percpu(cpu_cstate_entry); in ffh_cstate_exit()
234 cpu_cstate_entry = NULL; in ffh_cstate_exit()

Completed in 2 milliseconds