Lines Matching full:watchdog
11 * by all the watchdog timer drivers.
32 #include <linux/watchdog.h> /* For watchdog specific items */
42 #include <trace/events/watchdog.h>
53 * Sometimes watchdog drivers needs to be loaded as soon as possible,
55 * raising the initcall level of the watchdog driver is a solution.
57 * watchdog_core need miscdev to register the watchdog as a char device.
59 * The deferred registration infrastructure offer a way for the watchdog
60 * subsystem to register a watchdog properly, even before miscdev is ready.
103 * @wdd: watchdog device
222 * @wdd: watchdog device
224 * 0: use watchdog's restart function as last resort, has limited restart
259 /* Use alias for watchdog id if possible */ in __watchdog_register_device()
261 ret = of_alias_get_id(wdd->parent->of_node, "watchdog"); in __watchdog_register_device()
280 /* Retry in case a legacy watchdog module exists */ in __watchdog_register_device()
293 /* Module parameter to force watchdog policy on reboot. */ in __watchdog_register_device()
303 pr_warn("watchdog%d: stop_on_reboot not supported\n", wdd->id); in __watchdog_register_device()
309 pr_err("watchdog%d: Cannot register reboot notifier (%d)\n", in __watchdog_register_device()
323 pr_warn("watchdog%d: Cannot register restart handler (%d)\n", in __watchdog_register_device()
332 pr_warn("watchdog%d: Cannot register pm handler (%d)\n", in __watchdog_register_device()
340 * watchdog_register_device() - register a watchdog device
341 * @wdd: watchdog device
343 * Register a watchdog device with the kernel so that the
344 * watchdog timer can be accessed from userspace.
365 pr_err("%s: failed to register watchdog device (err = %d)\n", in watchdog_register_device()
389 * watchdog_unregister_device() - unregister a watchdog device
390 * @wdd: watchdog device to unregister
392 * Unregister a watchdog device that was previously successfully
415 * @dev: device that is registering this watchdog device
416 * @wdd: watchdog device
418 * Managed watchdog_register_device(). For watchdog device registered by this
484 MODULE_DESCRIPTION("WatchDog Timer Driver Core");