Home
last modified time | relevance | path

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

/drivers/watchdog/
Drt2880_wdt.c133 static struct watchdog_device rt288x_wdt_dev = { variable
158 rt288x_wdt_dev.bootstatus = rt288x_wdt_bootcause(); in rt288x_wdt_probe()
159 rt288x_wdt_dev.max_timeout = (0xfffful / rt288x_wdt_freq); in rt288x_wdt_probe()
160 rt288x_wdt_dev.parent = dev; in rt288x_wdt_probe()
162 watchdog_init_timeout(&rt288x_wdt_dev, rt288x_wdt_dev.max_timeout, in rt288x_wdt_probe()
164 watchdog_set_nowayout(&rt288x_wdt_dev, nowayout); in rt288x_wdt_probe()
166 watchdog_stop_on_reboot(&rt288x_wdt_dev); in rt288x_wdt_probe()
167 ret = devm_watchdog_register_device(dev, &rt288x_wdt_dev); in rt288x_wdt_probe()