ata_acpi_port_power_on(9)
π ata_acpi_port_power_on β the kernel API manual, section 9 π
okay bestie, welcome to ata_acpi_port_power_on(9), my fave little kernel-API glow-up. section 9 is the kernel interface section, iykyk β¨
πΈ NAME πΈ
ata_acpi_port_power_on β set the power state of the ata port to D0 π
like, it literally wakes your ATA port up and hands it a matcha. D0 is the "awake and thriving" power state, periodt.
β¨ SYNOPSIS β¨
void ata_acpi_port_power_on (struct ata_port *ap );
returns nothing (void), takes exactly one thing, no notes π
π¦ ARGUMENTS π¦
apβ the target ATA port π― that's thestruct ata_port *we're doing the power glow-up on. she's the main character here, no cap.
π DESCRIPTION π
This function is called at the beginning of ata_port_probe. π«Ά
that's it, that's the whole vibe β top of the probe, before anything else gets to happen, we're setting the power state of the ata port to D0. she gets her power first. main character energy only. β
not me making power states sound like a morning routine π but fr fr, this is the early-stage "turn the lights on" call in the ATA probe path.
π SEE ALSO π
the whole group chat, bestie β every single one of these lil icons:
ata_dev_acpi_handle(9)ata_acpi_handle_hotplug(9)ata_acpi_dev_manage_restart(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_set_state(9)ata_acpi_on_devcfg(9)ata_acpi_on_disable(9)
and the kernel file they all live in: ./drivers/ata/libata-acpi.c π go read it, it's giving lore.
slay, that's the whole page π mwah π
source: ./drivers/ata Β· dated October 2026 β ok that's the official sign-off bestie, you're all caught up, go forth and probe responsibly πππ
π¦ 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