ahci_platfor...e_regulators(9)
π NAME π
ahci_platform_disable_regulators β bestie, this is the one that turns the regulators off. That's it. That's the whole job. β¨
(Oh and hiii, you're reading the Kernel API Manual page for ahci_platfor...e_regulators(9) β the truncated header is literally how it's printed, no cap, we don't fix it, we respect it. π«Ά)
πΈ SYNOPSIS πΈ
void ahci_platform_disable_regulators (struct ahci_host_priv *hpriv );
Returns nothing (void), takes one pointer, and it does not take a nap in between. Slay. π
π ARGUMENTS π
hprivβ the host private area, aka the little house where config values live. This is the struct you hand over so the function knows which regulators are about to get unplugged. π
π¦ DESCRIPTION π¦
Okay so picture this: the function takes hpriv, walks through everything chilling in hpriv->target_pwrs, and disables all regulators it finds there β plus the AHCI controller itself. Lights out, queen. π
The way that it's literally just "disable all regulators found in hpriv->target_pwrs and AHCI controller" β that's the whole description, no extra lore, no secret bonus features. If you were hoping for plot twists, wrong manpage, babes. π
π₯ SEE ALSO π₯
The source lives here, iconic behavior:
- Kernel file
./drivers/ata/libahci_platform.c
And the whole friend group, in the order they're listed (yes, all of them, I would never do you like that π):
ahci_platform_enable_phys(9)ahci_platform_disable_phys(9)ahci_platform_find_clk(9)ahci_platform_enable_clks(9)ahci_platform_disable_clks(9)ahci_platform_deassert_rsts(9)ahci_platform_assert_rsts(9)ahci_platform_enable_regulators(9)ahci_platform_enable_resources(9)ahci_platform_disable_resources(9)ahci_platform_get_resources(9)ahci_platform_init_host(9)ahci_platform_shutdown(9)ahci_platform_suspend_host(9)ahci_platform_resume_host(9)ahci_platform_suspend(9)ahci_platform_resume(9)
β οΈ Note bestie: ahci_platform_enable_regulators(9) is in that list and this page is the disable one. Do not confuse your enable with your disable. I'm not saying anything. I'm just saying. π
β¨ that's the page β¨ mwah π
This little love letter came to you from ./drivers/ata, stamped October 2026, and yes it's filed under ahci_platfor...e_regulators(9) in the Kernel API Manual β go forth and disable responsibly, 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