Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/drivers/acpi/
Dprocessor_idle.c1296 struct acpi_processor *_pr; in acpi_processor_power_state_has_changed() local
1319 _pr = per_cpu(processors, cpu); in acpi_processor_power_state_has_changed()
1320 if (!_pr || !_pr->flags.power_setup_done) in acpi_processor_power_state_has_changed()
1332 _pr = per_cpu(processors, cpu); in acpi_processor_power_state_has_changed()
1333 if (!_pr || !_pr->flags.power_setup_done) in acpi_processor_power_state_has_changed()
1335 acpi_processor_get_power_info(_pr); in acpi_processor_power_state_has_changed()
1336 if (_pr->flags.power) { in acpi_processor_power_state_has_changed()
1338 acpi_processor_setup_cpuidle_dev(_pr, dev); in acpi_processor_power_state_has_changed()