ahci_platfo...le_resources(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

  1. Phys
  2. Resets
  3. Clocks (through ahci_platform_disable_clks)
  4. 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:

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