aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssl/doc/man3
diff options
context:
space:
mode:
authorAymeric Wibo <obiwac@FreeBSD.org>2025-08-18 14:35:52 +0000
committerAymeric Wibo <obiwac@FreeBSD.org>2025-08-18 14:44:59 +0000
commit02a8fadd2c4dc4b78d6d93d9d8b70e9348a6de6d (patch)
tree9538935ab015fec62a9dc2547f9301f0ad0fcec9 /crypto/openssl/doc/man3
parente687f38a36ceb681ff7fe0668050f95828f73831 (diff)
acpi_powerres: `acpi_pwr_get_state` and getting initial D-state for deviceHEADmain
Add `acpi_pwr_get_state` as a prerequisite to LPI (low-power idle) states. Since these states define minimum D-state constraints on other devices to be able to enter them, it will be necessary to use this function to check them before attempting to do so. Aside from that, this function is used to get the initial D-state of a power consumer when registering it (previously the `ac_state` value would be set to `ACPI_STATE_UNKNOWN`). It uses the `_PSC` method if available (older devices), or infers the D-state through the `_PRx` objects (cached in `ac_prx`) with `acpi_pwr_infer_state` if not. `acpi_pwr_switch_consumer` now uses this to verify that the D-state of a power consumer was switched correctly. Reviewed by: imp, markj, jrm (mentor) Approved by: markj, jrm (mentor) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D48386
Diffstat (limited to 'crypto/openssl/doc/man3')
0 files changed, 0 insertions, 0 deletions