ata_acpi_set_state(9)
okay so bestie, welcome to the ata_acpi_set_state(9) page from the Kernel API Manual β it's giving very niche kernel energy and i'm lowkey obsessed π
β¨
π NAME π
ata_acpi_set_state β set the port power state. that's the name, no cap π«Ά
πΈ SYNOPSIS πΈ
void ata_acpi_set_state (struct ata_port *ap , pm_message_t state );
π ARGUMENTS π
apβ the target ATA port, literally your port bestie πstateβ the state, and it's anon/offsituation π¦
β¨ DESCRIPTION β¨
So this function is the one that sets a proper ACPI D state for the device when system PM and runtime PM operations are doing their thing. it's literally here for that, and that's the whole vibe check β
π¦ SEE ALSO π¦
Kernel file is right here: ./drivers/ata/libata-acpi.c β go look, iykyk π
ata_dev_acpi_handle(9)ata_acpi_handle_hotplug(9)ata_acpi_dev_manage_restart(9)ata_acpi_port_power_on(9)ata_acpi_dissociate(9)ata_acpi_gtm(9)ata_acpi_stm(9)ata_dev_get_GTF(9)ata_acpi_gtm_xfermask(9)ata_acpi_cbl_pata_type(9)ata_acpi_run_tf(9)ata_acpi_exec_tfs(9)ata_acpi_push_id(9)ata_acpi_on_resume(9)ata_acpi_on_devcfg(9)ata_acpi_on_disable(9)
mwah π source/version: ./drivers/ata; date: October 2026; page: ata_acpi_set_state(9). that's literally the whole footer folded into this cute little sign-off, periodt ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms