ahci_platform_assert_rsts(9)
β¨ ahci_platform_assert_rsts(9) β¨
okay so bestie, welcome to the Kernel API Manual entry for ahci_platform_assert_rsts β yes the name is a mouthful, yes it's iconic, no we are not skipping any of it π
πΈ NAME πΈ
ahci_platform_assert_rsts β assert/rearm platform resets
like literally it asserts resets. or rearms them. both. it's giving multitasking queen π
π SYNOPSIS π
int ahci_platform_assert_rsts (struct ahci_host_priv *hpriv );
that's the whole vibe. one function, one argument, returns an int. short and slay β¨
π¦ ARGUMENTS π¦
hprivβ the host private area where config values get stored. she's the storage unit, the little home for all your settings π π
π DESCRIPTION π
so what does she actually do? ahci_platform_assert_rsts asserts β or, for self-deasserting resets, rearms β all the reset controls it can find for the AHCI device. all of them. not some. not a few. all. periodt π₯
ngl the "self-deasserting" part is the key detail here: some resets handle their own deassert, so for those this function rearms them instead. iykyk π§
β RETURN β
0if it went off without a hitch β success, we love to see it π«Ά- otherwise, a negative error code β so like, if it's not zero, something went sideways, and it's negative. clock that π
π SEE ALSO π
the whole friend group, fr fr β everyone in the libahci_platform.c clique:
- 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_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)
note the sibling energy with ahci_platform_deassert_rsts(9) β she's the counterpart, they're a matched set π
and that's the page, bestie! π this lil gem lives over in ./drivers/ata, dropped in October 2026, and it's filed right here in the Kernel API Manual. go forth and assert those resets, ily, bye ππ
π¦ 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