Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/xen/
Dxen-acpi-processor.c50 static int push_cxx_to_hypervisor(struct acpi_processor *_pr) in push_cxx_to_hypervisor() argument
55 .u.set_pminfo.id = _pr->acpi_id, in push_cxx_to_hypervisor()
63 dst_cx_states = kcalloc(_pr->power.count, in push_cxx_to_hypervisor()
68 for (ok = 0, i = 1; i <= _pr->power.count; i++) { in push_cxx_to_hypervisor()
69 cx = &_pr->power.states[i]; in push_cxx_to_hypervisor()
98 pr_debug("No _Cx for ACPI CPU %u\n", _pr->acpi_id); in push_cxx_to_hypervisor()
103 op.u.set_pminfo.power.flags.bm_control = _pr->flags.bm_control; in push_cxx_to_hypervisor()
104 op.u.set_pminfo.power.flags.bm_check = _pr->flags.bm_check; in push_cxx_to_hypervisor()
105 op.u.set_pminfo.power.flags.has_cst = _pr->flags.has_cst; in push_cxx_to_hypervisor()
107 _pr->flags.power_setup_done; in push_cxx_to_hypervisor()
[all …]
/Linux-v5.10/drivers/acpi/
Dprocessor_idle.c1246 struct acpi_processor *_pr; in acpi_processor_power_state_has_changed() local
1269 _pr = per_cpu(processors, cpu); in acpi_processor_power_state_has_changed()
1270 if (!_pr || !_pr->flags.power_setup_done) in acpi_processor_power_state_has_changed()
1282 _pr = per_cpu(processors, cpu); in acpi_processor_power_state_has_changed()
1283 if (!_pr || !_pr->flags.power_setup_done) in acpi_processor_power_state_has_changed()
1285 acpi_processor_get_power_info(_pr); in acpi_processor_power_state_has_changed()
1286 if (_pr->flags.power) { in acpi_processor_power_state_has_changed()
1288 acpi_processor_setup_cpuidle_dev(_pr, dev); in acpi_processor_power_state_has_changed()