Lines Matching defs:watchdog
44 static int watchdog = 0;
69 /* Set watchdog interval in ms */
70 watchdog = simple_strtoul(nvram_safe_get("watchdog"), NULL, 0);
72 /* Please set the watchdog to 3 sec if it is less than 3 but not equal to 0 */
73 if (watchdog > 0) {
74 if (watchdog < 3000)
75 watchdog = 3000;
79 panic_timeout = watchdog / 1000;
119 /* Set the watchdog timer to reset after the specified number of ms */
120 if (watchdog > 0) {
122 sb_watchdog(sbh, WATCHDOG_CLOCK_5354 / 1000 * watchdog);
124 sb_watchdog(sbh, WATCHDOG_CLOCK / 1000 * watchdog);
157 watchdog=0;