Lines Matching full:watchdog
6 * Watchdog driver for the ST-Ericsson AB COH 901 327 IP core
13 #include <linux/watchdog.h>
82 * The watchdog block is of course always clocked, the
114 /* Enable the watchdog interrupt */ in coh901327_enable()
116 /* Activate the watchdog timer */ in coh901327_enable()
118 /* Start the watchdog timer */ in coh901327_enable()
121 * Extra read so that this change propagate in the watchdog. in coh901327_enable()
128 "%s(): watchdog not enabled! D2R value %04x\n", in coh901327_enable()
137 /* Disable the watchdog interrupt if it is active */ in coh901327_disable()
139 /* If the watchdog is currently enabled, attempt to disable it */ in coh901327_disable()
154 "%s(): watchdog not disabled! D2R value %04x\n", in coh901327_disable()
166 /* Feed the watchdog */ in coh901327_keepalive()
194 * This interrupt occurs 10 ms before the watchdog WILL bark.
204 * when the system is about to watchdog-reset, add them here! in coh901327_interrupt()
207 * to prevent a watchdog reset by feeding the watchdog at this in coh901327_interrupt()
217 dev_crit(parent, "watchdog is barking!\n"); in coh901327_interrupt()
222 * Allow only one user (daemon) to open the watchdog
262 .identity = "COH 901 327 Watchdog", in coh901327_ioctl()
338 .name = "watchdog",
395 "watchdog timed out since last chip reset!\n"); in coh901327_probe()
426 /* Reset the watchdog */ in coh901327_probe()
470 /* If watchdog is on, disable it here and now */ in coh901327_suspend()
478 /* Restore the watchdog interrupt */ in coh901327_resume()
481 /* Restart the watchdog timer */ in coh901327_resume()
495 * Mistreating the watchdog is the only way to perform a software reset of the
504 * Timeout = 5s, we have to wait for the watchdog reset to in coh901327_watchdog_reset()
505 * actually take place: the watchdog will be reloaded with the in coh901327_watchdog_reset()
508 * The boot loader will typically deactivate the watchdog, so we in coh901327_watchdog_reset()
510 * deactivating the watchdog before it is shut down by it. in coh901327_watchdog_reset()
512 * NOTE: on future versions of the watchdog, this restriction is in coh901327_watchdog_reset()
513 * gone: the watchdog will be reloaded with a default value (1 min) in coh901327_watchdog_reset()
514 * instead of last value, and you can conveniently set the watchdog in coh901327_watchdog_reset()
544 MODULE_DESCRIPTION("COH 901 327 Watchdog");
547 MODULE_PARM_DESC(margin, "Watchdog margin in seconds (default 60s)");