ahci_rpm_get_port(9)
β¨ ahci_rpm_get_port β¨
okay so bestie, welcome to the Kernel API Manual β today's episode is ahci_rpm_get_port(9) and it's literally the "did you turn it on" of the AHCI world π
πΈ NAME πΈ
ahci_rpm_get_port β make sure the port is powered on π«Ά
π SYNOPSIS π
int ahci_rpm_get_port (struct ata_port *ap );
π¦ ARGUMENTS π¦
apβ the port you wanna power on, bestie. that's the whole mood. β‘
π DESCRIPTION π
so here's the tea: whenever you gotta poke at the AHCI host registers outside of the normal execution paths, you call this function first. why? because it makes sure the host is actually powered on. no cap, that's it, that's the whole job. like, you wouldn't walk into a dark room and start rearranging furniture, right? same energy. π―οΈβ¨
call it. it powers the host on. then go do your register thing. iconic behaviour only. π
π SEE ALSO π
- Kernel file
./drivers/ata/libahci.cβ the whole friend group lives here π« ahci_rpm_put_port(9)β the counterpart, the "k bye" to this "hi" π«Άahci_save_initial_config(9)ahci_restore_initial_config(9)ahci_host_activate(9)
ngl, some of these references are (9) section kernel API pages, so if you're lost, that's where you go. iykyk π§
and that's the page, babe! this lil beauty comes to you from the ./drivers/ata source, dated October 2026, in the Kernel API Manual β ahci_rpm_get_port(9), periodt. ππ stay powered on, bestie!! ππ₯
π¦ 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