Lines Matching full:watchdog

2  *      Intel_SCU 0.2:  An Intel SCU IOH Based Watchdog Device
31 #include <linux/watchdog.h>
62 "Watchdog timer margin"
70 "Default Watchdog timer setting"
75 /* After watchdog device is closed, check force_boot. If:
76 * force_boot == 0, then force boot on next watchdog interrupt after close,
83 "the system immediately if the /dev/watchdog device is closed"
84 "A value of 0 means that when /dev/watchdog device is closed"
85 "the watchdog timer will be refreshed for one more interval"
87 "watchdog timer will reset the system."
107 "System will reset when watchdog timer times out!\n"); in watchdog_fire()
115 pr_debug("Watchdog timer: value of new_margin %d is out of the range %d to %d\n", in check_timer_margin()
144 pr_err("Error setting SCU watchdog timer: %x\n", ipc_ret); in watchdog_set_ipc()
159 pr_debug("Watchdog timer: irq, int_status: %x\n", int_status); in watchdog_timer_interrupt()
166 pr_debug("Watchdog timer: spurious interrupt received\n"); in watchdog_timer_interrupt()
223 pr_debug("Watchdog timer: set_heartbeat: timer freq is %d\n", in intel_scu_set_heartbeat()
225 pr_debug("Watchdog timer: set_heartbeat: timer_set is %x (hex)\n", in intel_scu_set_heartbeat()
227 pr_debug("Watchdog timer: set_hearbeat: timer_margin is %x (hex)\n", in intel_scu_set_heartbeat()
229 pr_debug("Watchdog timer: set_heartbeat: threshold is %x (hex)\n", in intel_scu_set_heartbeat()
231 pr_debug("Watchdog timer: set_heartbeat: soft_threshold is %x (hex)\n", in intel_scu_set_heartbeat()
235 /* watchdog timing come out right. */ in intel_scu_set_heartbeat()
249 /* Make sure the watchdog timer is stopped */ in intel_scu_set_heartbeat()
267 pr_err("Watchdog timer: Unable to set timer\n"); in intel_scu_set_heartbeat()
295 * /dev/watchdog handling
301 /* Set flag to indicate that watchdog device is open */ in intel_scu_open()
315 * This watchdog should not be closed, after the timer in intel_scu_release()
318 * immediate reset. If force_boot is not set, the watchdog in intel_scu_release()
320 * of that interval, the watchdog timer will reset the system. in intel_scu_release()
324 pr_debug("Watchdog timer: intel_scu_release, without open\n"); in intel_scu_release()
330 pr_debug("Watchdog timer: closed, without starting timer\n"); in intel_scu_release()
335 "Unexpected close of /dev/watchdog!\n"); in intel_scu_release()
357 /* Watchdog already started, keep it alive */ in intel_scu_write()
360 /* Start watchdog with timer value set by init */ in intel_scu_write()
380 .identity = "Intel_SCU IOH Watchdog" /* len < 32 */ in intel_scu_ioctl()
421 /* Turn off the watchdog timer. */ in intel_scu_notify_sys()
447 * If it isn't an intel MID device then it doesn't have this watchdog in intel_scu_watchdog_init()
457 pr_err("Watchdog timer: value of timer_set %x (hex) " in intel_scu_watchdog_init()
470 pr_debug("Watchdog timer - Intel SCU watchdog: timer is not available\n"); in intel_scu_watchdog_init()
475 pr_debug("Watchdog timer - Intel SCU watchdog - timer %d does not have valid physical memory\n", in intel_scu_watchdog_init()
481 pr_debug("Watchdog timer: timer %d invalid irq\n", in intel_scu_watchdog_init()
490 pr_debug("Watchdog timer: timer unable to ioremap\n"); in intel_scu_watchdog_init()
515 pr_err("Watchdog timer: cannot register notifier %d)\n", ret); in intel_scu_watchdog_init()
520 watchdog_device.miscdev.name = "watchdog"; in intel_scu_watchdog_init()
525 pr_err("Watchdog timer: cannot register miscdev %d err =%d\n", in intel_scu_watchdog_init()
532 IRQF_SHARED, "watchdog", in intel_scu_watchdog_init()
535 pr_err("Watchdog timer: error requesting irq %d\n", ret); in intel_scu_watchdog_init()
568 MODULE_DESCRIPTION("Intel SCU Watchdog Device Driver");