toprgu_reset_sw_en_unlocked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… toprgu_reset_sw_en_unlocked(9) πŸ’…

okay so bestie, this is a page from the Kernel API Manual, and we're talking about toprgu_reset_sw_en_unlocked(9). it's literally giving enable/disable software control for reset bit energy. no cap. ✨


🌸 NAME 🌸

toprgu_reset_sw_en_unlocked β€” enable/disable software control for reset bit. that's the whole assignment. πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

void toprgu_reset_sw_en_unlocked (struct mtk_wdt_dev *data , unsigned long id , bool enable );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • data β€” pointer to instance of driver data. yes, the driver data instance. 🫢
  • id β€” bit number identifying the reset to be enabled or disabled. iykyk.
  • enable β€” if true, enable software control for that bit; disable otherwise. periodt. πŸ’…

πŸ‘‘ CONTEXT πŸ‘‘

bestie, the caller must hold lock of struct mtk_wdt_dev. that's not optional, that's the whole rule. πŸ”’


🌈 SEE ALSO 🌈

  • Kernel file ./drivers/watchdog/mtk_wdt.c β€” go peek at the source, it's iconic. πŸ’œ

mwah πŸ’‹ β€” from the Kernel API Manual, source/version ./drivers/watchdog, date October 2026 β€” toprgu_reset_sw_en_unlocked(9) signing off. πŸŽ€βœ¨

πŸ“¦ where this page comes from