Lines Matching full:watchdog

3  *	SMsC 37B787 Watchdog Timer driver for Linux 2.6.x.x
21 * A Watchdog Timer (WDT) is a hardware circuit that can
26 * via the /dev/watchdog special device file that userspace is
28 * occurs, the driver will usually tell the hardware watchdog
29 * that everything is in order, and that the watchdog should wait
32 * notifications cease to occur, and the hardware watchdog will
36 * mknod /dev/watchdog c 10 130
39 * Documentation/watchdog/wdt.rst
48 #include <linux/watchdog.h>
82 static DEFINE_SPINLOCK(io_lock);/* to guard the watchdog from io races */
155 /* -- Watchdog timer units -- in wdt_timer_units()
165 /* -- Watchdog Timer Time-out Value -- in wdt_timeout_value()
173 /* -- Watchdog timer configuration -- in wdt_timer_conf()
189 /* -- Watchdog timer control -- in wdt_timer_ctrl()
211 /* initialize watchdog */
221 /* enable the watchdog */ in wb_smsc_wdt_initialize()
239 /* set the watchdog timer units */ in wb_smsc_wdt_initialize()
246 /* shutdown the watchdog */
254 /* disable the watchdog */ in wb_smsc_wdt_shutdown()
258 /* reset watchdog config register */ in wb_smsc_wdt_shutdown()
261 /* reset watchdog control register */ in wb_smsc_wdt_shutdown()
271 /* set timeout => enable watchdog */
305 /* disable watchdog */
309 /* set the timeout to 0 to disable the watchdog */ in wb_smsc_wdt_disable()
313 /* enable watchdog by setting the current timeout */
337 /* return, if the watchdog is enabled (timeout is set...) */
347 /* open => enable watchdog and set initial timeout */
351 /* /dev/watchdog can only be opened once */ in wb_smsc_wdt_open()
362 pr_info("Watchdog enabled. Timeout set to %d %s\n", in wb_smsc_wdt_open()
376 pr_info("Watchdog disabled, sleeping again...\n"); in wb_smsc_wdt_release()
378 pr_crit("Unexpected close, not stopping watchdog!\n"); in wb_smsc_wdt_release()
434 .identity = "SMsC 37B787 Watchdog", in wb_smsc_wdt_ioctl()
519 .name = "watchdog",
531 pr_info("SMsC 37B787 watchdog component driver " in wb_smsc_wdt_init()
534 if (!request_region(IOPORT, IOPORT_SIZE, "SMsC 37B787 watchdog")) { in wb_smsc_wdt_init()
544 /* init the watchdog timer */ in wb_smsc_wdt_init()
563 pr_info("Watchdog initialized and sleeping (nowayout=%d)...\n", in wb_smsc_wdt_init()
585 pr_info("Watchdog disabled\n"); in wb_smsc_wdt_exit()
592 pr_info("SMsC 37B787 watchdog component driver removed\n"); in wb_smsc_wdt_exit()
599 MODULE_DESCRIPTION("Driver for SMsC 37B787 watchdog component (Version "
614 "Watchdog cannot be stopped once started (default="