Home
last modified time | relevance | path

Searched refs:dc_wdt_wdd (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/watchdog/
H A Ddigicolor_wdt.c111 static struct watchdog_device dc_wdt_wdd = { variable
133 dc_wdt_wdd.max_timeout = U32_MAX / clk_get_rate(wdt->clk); in dc_wdt_probe()
134 dc_wdt_wdd.timeout = dc_wdt_wdd.max_timeout; in dc_wdt_probe()
135 dc_wdt_wdd.parent = dev; in dc_wdt_probe()
139 watchdog_set_drvdata(&dc_wdt_wdd, wdt); in dc_wdt_probe()
140 watchdog_set_restart_priority(&dc_wdt_wdd, 128); in dc_wdt_probe()
141 watchdog_init_timeout(&dc_wdt_wdd, timeout, dev); in dc_wdt_probe()
142 watchdog_stop_on_reboot(&dc_wdt_wdd); in dc_wdt_probe()
143 return devm_watchdog_register_device(dev, &dc_wdt_wdd); in dc_wdt_probe()