ahci_platfo...le_resources(9)
π ahci_platfo...le_resources(9) π
okay so bestie, welcome to the Kernel API Manual β yes that's the manual name, yes the title up top is literally truncated to ahci_platfo...le_resources(9), and no we are not going to be normal about it. this page is short, it's sweet, and it's giving "last one out, turn off the lights" energy β¨
πΈ NAME πΈ
ahci_platform_disable_resources β Disable platform resources π
like, that's it. that's the whole job. it disables stuff.
π¦ SYNOPSIS π¦
void ahci_platform_disable_resources (struct ahci_host_priv *hpriv );
returns nothing (it's void, she doesn't do returns) and takes exactly one thing. slay.
π ARGUMENTS π
hprivβ the host private area where config values get stored. it's the little locker she keeps her stuff in π«Ά
β DESCRIPTION β
so this function disables all the ahci_platform managed resources, and β important β it does it in this exact order, no freestyling, the order is the whole vibe check:
- Phys
- Resets
- Clocks (through
ahci_platform_disable_clks) - Regulator
that's the lineup. four steps. phys first, regulator last, clocks get handled via their own little helper. iconic behaviour honestly π
π SEE ALSO π
where the code actually lives, iykyk:
Kernel file ./drivers/ata/libahci_platform.c
and the whole friend group, fr fr β every single one of these, no skips:
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_disable_regulators(9)ahci_platform_enable_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)
no cap, if you're looking at this one you probably want ahci_platform_enable_resources(9) too β they're literally the mirror of each other and it's giving twin flames π
π§ sign-off π§
this cutie lives in ./drivers/ata and the page is dated October 2026. that's the footer, that's the version info, that's the whole entire page. bye bestie, go turn off your clocks in the right order ππ
π¦ 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