ahci_platform_disable_phys(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ahci_platform_disable_phys(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” we're looking at ahci_platform_disable_phys, and honestly? She's a short one but she's iconic. Let's get into it πŸŽ€


✨ NAME ✨

ahci_platform_disable_phys β€” literally just: Disable PHYs πŸ’…


🌸 SYNOPSIS 🌸

void ahci_platform_disable_phys (struct ahci_host_priv *hpriv );

no cap, that's the whole signature. she returns void, she takes one pointer, she's low maintenance πŸ¦‹


🫢 ARGUMENTS 🫢

  • hpriv β€” the host private area where config values get stored. it's giving "her little storage corner" β€” everything she needs lives in there πŸ’–

πŸ‘‘ DESCRIPTION πŸ‘‘

this function disables all the PHYs found in hpriv->phys. every single one. not a vibe check, an actual teardown 🧚

like, the way that she just goes through and turns them all off β€” no notes, no survivors, periodt. ✨


πŸ”₯ SEE ALSO πŸ”₯

kernel file: ./drivers/ata/libahci_platform.c

the whole friend group, fr fr:


πŸ’€ reminder bestie: this one disables the PHYs. if you were looking for the enable version, she's right there in the list above β€” don't mix them up, iykyk πŸ™ˆ

🌈 and that's a wrap! this page lives in ./drivers/ata, dated October 2026, and she's filed under Kernel API Manual as ahci_platform_disable_phys(9). mwah, go disable some PHYs responsibly πŸ’œπŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from