ahci_platform_suspend_host(9)
π NAME π
okay bestie, say hi to ahci_platform_suspend_host(9) from the Kernel API Manual β the function whose whole vibe is to suspend an ahci-platform host. slay. β¨
π SYNOPSIS π
int ahci_platform_suspend_host (struct device *dev );
π¦ ARGUMENTS π¦
devβ device pointer for the host. that's the one, no cap. π
πΈ DESCRIPTION πΈ
This function does all the usual steps needed to suspend an ahci-platform host. it's giving βsuspend routine, but make it ahci-platform.β π₯
β οΈ quick note, bestie: any necessary resources (ieclks,phys, etc.) must be disabled after calling this. no skipping that part, fr fr. π
π RETURN π
0 on success otherwise a negative error code. that's it, that's the vibe check. π
π§ 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_resume_host(9)ahci_platform_suspend(9)ahci_platform_resume(9)
Catch u later, bestie β this is the ahci_platform_suspend_host(9) page from source/version ./drivers/ata, dated October 2026, in the Kernel API Manual π«Άπ
π¦ 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