ahci_rpm_put_port(9)
π ahci_rpm_put_port(9) β the Kernel API Manual, bestie edition β¨
okay so you're in the Kernel API Manual and the page you opened is ahci_rpm_put_port(9). she's the cleanup girlie, the one who closes the tab after you opened like twelve of them. let's get into it π
πΈ NAME πΈ
ahci_rpm_put_port β the function that undoes ahci_rpm_get_port(). that's it. that's the whole vibe. she's the "you're welcome" after the "thank you" π«Ά
β¨ SYNOPSIS β¨
void ahci_rpm_put_port (struct ata_port *ap );
no return value, she doesn't give you anything back, she just does the thing and leaves π (and yes, the space before the closing paren is canon, don't come for me)
π ARGUMENTS π
apβ Port to power down. that's thestruct ata_port *right there. hand her the port and she'll handle the lights π
π¦ DESCRIPTION π¦
so here's the tea: ahci_rpm_put_port undoes ahci_rpm_get_port β literally the reverse card of the whole situation π β and possibly powers down the AHCI host if it has no more active users.
like, if you were the last one in the group chat to leave, she turns the lights off on the way out. if there's still somebody in there yapping, the host stays on. no cap, that's the entire behaviour. iconic, honestly π
lowkey the "possibly" is doing a lot of work here β the power-down is conditional on nobody else using the host, so don't assume it always happens. it's giving "depends on the room." π§
π₯ SEE ALSO π₯
- Kernel file
./drivers/ata/libahci.cβ the whole friend group lives here π ahci_rpm_get_port(9)β the one she's undoing, the other half of the duo πahci_save_initial_config(9)β saving the config before things get real πahci_restore_initial_config(9)β putting it back, we love a restoration arc βahci_host_activate(9)β waking the host up, main character energy π
π the cute little sign-off π
this page comes to you courtesy of ./drivers/ata (the directory that raised her), and it's dated October 2026 β and yes, the page name in the corner is ahci_rpm_put_port(9) because we're keeping the branding consistent, bestie πβ¨ go put a port down 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