Home
last modified time | relevance | path

Searched refs:_pr (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/xen/
Dxen-acpi-processor.c51 static int push_cxx_to_hypervisor(struct acpi_processor *_pr) in push_cxx_to_hypervisor() argument
56 .u.set_pminfo.id = _pr->acpi_id, in push_cxx_to_hypervisor()
64 dst_cx_states = kcalloc(_pr->power.count, in push_cxx_to_hypervisor()
69 for (ok = 0, i = 1; i <= _pr->power.count; i++) { in push_cxx_to_hypervisor()
70 cx = &_pr->power.states[i]; in push_cxx_to_hypervisor()
99 pr_debug("No _Cx for ACPI CPU %u\n", _pr->acpi_id); in push_cxx_to_hypervisor()
104 op.u.set_pminfo.power.flags.bm_control = _pr->flags.bm_control; in push_cxx_to_hypervisor()
105 op.u.set_pminfo.power.flags.bm_check = _pr->flags.bm_check; in push_cxx_to_hypervisor()
106 op.u.set_pminfo.power.flags.has_cst = _pr->flags.has_cst; in push_cxx_to_hypervisor()
108 _pr->flags.power_setup_done; in push_cxx_to_hypervisor()
[all …]
/linux-6.12.1/drivers/acpi/
Dprocessor_idle.c1311 struct acpi_processor *_pr; in acpi_processor_power_state_has_changed() local
1334 _pr = per_cpu(processors, cpu); in acpi_processor_power_state_has_changed()
1335 if (!_pr || !_pr->flags.power_setup_done) in acpi_processor_power_state_has_changed()
1347 _pr = per_cpu(processors, cpu); in acpi_processor_power_state_has_changed()
1348 if (!_pr || !_pr->flags.power_setup_done) in acpi_processor_power_state_has_changed()
1350 acpi_processor_get_power_info(_pr); in acpi_processor_power_state_has_changed()
1351 if (_pr->flags.power) { in acpi_processor_power_state_has_changed()
1353 acpi_processor_setup_cpuidle_dev(_pr, dev); in acpi_processor_power_state_has_changed()