STRUCT XWWDT_DEVICE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, meet struct xwwdt_device(9) from the Kernel API Manual β€” it's literally the watchdog device structure and it's giving very main-character kernel energy πŸ‘‘

struct xwwdt_device β€” Watchdog device structure.


πŸ› οΈ SYNOPSIS πŸ› οΈ

struct xwwdt_device {
    void __iomem *base;
    spinlock_t spinlock;
    struct watchdog_device xilinx_wwdt_wdd;
    unsigned long freq;
    u32 close_percent;
    u64 closed_timeout;
    u64 open_timeout;
 };

πŸŽ€ Members πŸŽ€

  • base β€” base io address of WDT device. that's the WDT device's base io address, periodt πŸ’…
  • spinlock β€” spinlock for IO register access. it's the spinlock that guards IO register access, no cap πŸ”’
  • xilinx_wwdt_wdd β€” watchdog device structure. yep, it's the watchdog device structure itself 🫢
  • freq β€” source clock frequency of WWDT. the source clock frequency of the WWDT, literally ⏰
  • close_percent β€” Closed window percent. the Closed window percent, exactly as it says 🌸
  • closed_timeout β€” Closed window timeout in ticks. the Closed window timeout, measured in ticks ⭐
  • open_timeout β€” Open window timeout in ticks. the Open window timeout, also in ticks πŸ¦‹

πŸ‘€ SEE ALSO πŸ‘€

Kernel file ./drivers/watchdog/xilinx_wwdt.c β€” go peek, iykyk πŸ“–


and that's the whole vibe, bestie πŸ’– huge shoutout to the source/version ./drivers/watchdog and the date October 2026 β€” struct xwwdt_device(9) ate and left no crumbs πŸŽ€βœ¨

πŸ“¦ where this page comes from