STRUCT CDNS_WDT(9)
π 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β thestruct 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
- 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