STRUCT CDNS_WDT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct cdns_wdt(9) πŸ’–

okay bestie, this is the Kernel API Manual page for struct cdns_wdt(9), and it's literally the watchdog device structure. no cap, we're gonna go through every member together 🫢

🌸 NAME 🌸

struct cdns_wdt β€” Watchdog device structure. that's the whole name, and it ate πŸ’…

✨ SYNOPSIS ✨

here's the struct, exactly as it appears β€” don't let the alignment fool you, it's iconic:

       struct cdns_wdt {
           void __iomem            *regs;
           bool rst;
           struct clk              *clk;
           u32 prescaler;
           u32 ctrl_clksel;
           spinlock_t io_lock;
           struct watchdog_device  cdns_wdt_device;
        };

πŸ¦‹ Members πŸ¦‹

  • regs β€” the baseaddress of device fr fr πŸŽ€
  • rst β€” the reset flag 🚩
  • clk β€” the struct clk * of a clock source ⏰
  • prescaler β€” for saving prescaler value πŸ’Ύ
  • ctrl_clksel β€” counter clock prescaler selection πŸŽ›οΈ
  • io_lock β€” spinlock for IO register access πŸ”’
  • cdns_wdt_device β€” watchdog device structure 🐢

πŸ’œ Description πŸ’œ

Structure containing parameters specific to cadence watchdog. so yeah, it's the struct that holds the params specific to the cadence watchdog β€” lowkey important, highkey slay πŸŽ€

🌈 SEE ALSO 🌈

Kernel file ./drivers/watchdog/cadence_wdt.c plus these function besties: cdns_wdt_stop(9), cdns_wdt_reload(9), cdns_wdt_start(9), cdns_wdt_settimeout(9), cdns_wdt_irq_handler(9), cdns_wdt_probe(9), cdns_wdt_suspend(9), cdns_wdt_resume(9).


and that's the whole page, bestie 🫢 source/version: ./drivers/watchdog; date: October 2026; page title: struct cdns_wdt(9). periodt πŸ’…βœ¨

πŸ“¦ where this page comes from