ahci_platform_assert_rsts(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 ⭐

  • 0 if 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:

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