cdns_wdt_settimeout(9)
π cdns_wdt_settimeout π
okay so bestie, welcome to the Kernel API Manual β¨ β this lil page is all about cdns_wdt_settimeout, and honestly? it's giving "quietly important" energy. it sets a new timeout value for the watchdog device. no cap. ππ¦
β¨ SYNOPSIS β¨
int cdns_wdt_settimeout (struct watchdog_device *wdd , unsigned int
new_time );
like, it takes a pointer to a watchdog device and an unsigned int, and hands you back an int. simple. iconic. π
π ARGUMENTS π
wddβ the watchdog device in question. yes, the actualstruct watchdog_device *. she's the main character here πnew_timeβ the brand-new timeout value that needs to be set.unsigned int, so keep it positive, bestie π
β RETURN β
it returns 0 on success. that's it β 0 means we ate and left no crumbs π₯
ngl,0is the only return value documented here, so don't go expecting the full saga of error codes. it's0on success, periodt π
πΈ DESCRIPTION πΈ
so what does this actually do? it updates the watchdog_device timeout with the new value β and that value is the one that gets used when cdns_wdt_start is called. so like, this is the setup step; the starting happens later. the way that just makes sense π§
lowkey important detail: this function updates the timeout field, it doesn't start anything by itself. cdns_wdt_start is the one who does the starting, and she'll be using whatever new_time you set here. iykyk π
π¦ SEE ALSO π¦
- Kernel file
./drivers/watchdog/cadence_wdt.c struct cdns_wdt(9)cdns_wdt_stop(9)cdns_wdt_reload(9)cdns_wdt_start(9)cdns_wdt_irq_handler(9)cdns_wdt_probe(9)cdns_wdt_suspend(9)cdns_wdt_resume(9)
like, go read the whole friend group, they're all linked π
that's the whole page, bestie β short, sweet, and fully documented π this one lives under ./drivers/watchdog and the date on it is October 2026, so yeah, it's got that fresh timestamp energy β mwah, go set some timeouts π
π
π¦ 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