STRUCT SP805_WDT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

struct sp805_wdt β€” the sp805 wdt device structure, bestie πŸ’–

okay so this is the page for struct sp805_wdt(9) from the Kernel API Manual, and we're gonna go through every single member like the organized icon we are πŸŽ€


🌸 SYNOPSIS 🌸

       struct sp805_wdt {
           struct watchdog_device          wdd;
           spinlock_t lock;
           void __iomem                    *base;
           struct clk                      *clk;
           u64 rate;
           struct amba_device              *adev;
           unsigned int                    load_val;
        };

πŸ¦‹ Members πŸ¦‹

  • wdd β€” this is the instance of struct watchdog_device, literally the watchdog-device representation hanging out inside this struct πŸ’…
  • lock β€” a spin lock doing the protective work for the dev structure and io access, no cap πŸ”’
  • base β€” the base address of wdt, the starting point, the main character location ✨
  • clk β€” the (optional) clock structure of wdt, there when it's there πŸ•°οΈ
  • rate β€” the (optional) clock rate when provided via properties, cute and conditional 🌸
  • adev β€” the amba device structure of wdt, its amba-device situation 🫢
  • load_val β€” the load value to be set for the current timeout, doing exactly that job πŸ”₯

πŸŽ€ SEE ALSO πŸŽ€

Kernel file ./drivers/watchdog/sp805_wdt.c β€” go peek, iykyk πŸ‘‘


xoxo bestie, this page came from ./drivers/watchdog and it's dated October 2026 β€” slay, periodt πŸ’–βœ¨

πŸ“¦ where this page comes from