ata_acpi_on_resume(9)
πΈ NAME πΈ
Hey bestie, welcome to the Kernel API Manual β today's main character is ata_acpi_on_resume(9), aka the ATA ACPI hook called on resume. That's it, that's the vibe. periodt. β¨
β¨ SYNOPSIS β¨
void ata_acpi_on_resume (struct ata_port *ap );
π ARGUMENTS π
apβ the target ATA port. Yes, bestie, that's the one we're resuming. π«Ά
π DESCRIPTION π
okay so here's the timing, because timing is literally everything: this function is called when ap is resumed β and it lands right after port itself is resumed but before any EH action is taken. No skipping ahead, no extra EH chaos. π
π LOCKING: EH context.
π¦ SEE ALSO π¦
Kernel file ./drivers/ata/libata-acpi.c is the home base, and here's the whole squad to go read next, 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_set_state(9)ata_acpi_on_devcfg(9)ata_acpi_on_disable(9)
π that's the whole page, bestie π Source/version: ./drivers/ata Β· date: October 2026 Β· page: ata_acpi_on_resume(9). byeee π«Άβ¨
π¦ 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