ahci_platform_disable_phys(9)
π 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:
ahci_platform_enable_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_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)
π 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
- 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