STRUCT XWWDT_DEVICE(9)
β¨ 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
- 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