ahci_platform_resume(9)
π ahci_platform_resume β the wake-up-call era π
okay so bestie, we're in the <pink>Kernel API Manual</pink> and today's main character is ahci_platform_resume(9) β literally the function that gets an ahci-platform device out of bed and back on its grind. no cap. π¦
β¨ NAME β¨
ahci_platform_resume β resume an ahci-platform device. that's it, that's the vibe. πΈ
β¨ SYNOPSIS β¨
int ahci_platform_resume (struct device *dev );
β¨ ARGUMENTS β¨
devβ the platform device to resume. yes, this one. the sleepy little guy. π«Ά
β¨ DESCRIPTION β¨
so basically this function does the full glow-up in two steps: first it <cyan>enables all the resources of the device</cyan>, and then it resumes the host associated with the device. resources first, host second β in that order, periodt. β¨
β¨ RETURN β¨
0on success β slay π- otherwise a negative error code β not slay, but at least you know π
β¨ SEE ALSO β¨
- Kernel file
./drivers/ata/libahci_platform.c 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_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)
like, the whole friend group is here and honestly? obsessed. π
mwah π that's the page!! brought to you by the fine folks in ./drivers/ata, dated October 2026, and yes the name on the cover is still ahci_platform_resume(9) β iykyk ππ
π¦ 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