Lines Matching full:watchdog
7 * RTAS watchdog driver
10 * device driver to exploit watchdog RTAS functions
37 #include <linux/watchdog.h>
47 MODULE_DESCRIPTION("RTAS watchdog driver");
72 /*** watchdog access functions */
75 * wdrtas_set_interval - sets the watchdog interval
80 * wdrtas_set_interval sets the watchdog keepalive interval by calling the
96 printk(KERN_ERR "wdrtas: setting the watchdog to %i " in wdrtas_set_interval()
107 * wdrtas_get_interval - returns the current watchdog interval
112 * wdrtas_get_interval returns the current watchdog keepalive interval
131 printk(KERN_WARNING "wdrtas: could not get sp_spi watchdog " in wdrtas_get_interval()
141 * wdrtas_timer_start - starts watchdog
143 * wdrtas_timer_start starts the watchdog by calling the RTAS function
152 * wdrtas_timer_stop - stops watchdog
154 * wdrtas_timer_stop stops the watchdog timer by calling the RTAS function
188 * wdrtas_timer_keepalive - resets watchdog timer to keep system alive
190 * wdrtas_timer_keepalive restarts the watchdog timer by calling the
236 * wdrtas_get_status - returns the status of the watchdog
239 * include/linux/watchdog.h
250 * include/linux/watchdog.h, indicating why the watchdog rebooted the system
257 /*** watchdog API and operations stuff */
259 /* wdrtas_write - called when watchdog device is written to
269 * character 'V'. This character allows the watchdog device to be closed
300 * wdrtas_ioctl - ioctl function for the watchdog device
307 * wdrtas_ioctl implements the watchdog API ioctls
384 * wdrtas_open - open function of watchdog device
391 * function called when watchdog device is opened
408 * wdrtas_close - close function of watchdog device
418 /* only stop watchdog, if this was announced using 'V' before */ in wdrtas_close()
422 printk(KERN_WARNING "wdrtas: got unexpected close. Watchdog " in wdrtas_close()
496 * wdrtas_reboot stops the watchdog in case of a reboot
520 .name = "watchdog",
548 * this watchdog driver. It tolerates, if "get-sensor-state" and
571 "set-indicator. Terminating watchdog code.\n"); in wdrtas_get_tokens()
578 "Terminating watchdog code.\n"); in wdrtas_get_tokens()
588 * wdrtas_register_devs unregisters the watchdog and temperature watchdog
603 * wdrtas_register_devs registers the watchdog and temperature watchdog
612 printk(KERN_ERR "wdrtas: couldn't register watchdog misc " in wdrtas_register_devs()
613 "device. Terminating watchdog code.\n"); in wdrtas_register_devs()
621 "watchdog temperature misc device. Continuing " in wdrtas_register_devs()
631 * wdrtas_init - init function of the watchdog driver
647 "Terminating watchdog code.\n"); in wdrtas_init()
661 * wdrtas_exit - exit function of the watchdog driver