ahci_rpm_put_port(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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


πŸ’– 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