ata_acpi_port_power_on(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 the struct 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:

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