Lines Matching full:heartbeat
20 * typedefs to replace them. Made heartbeat reset only available
109 #define WD_HRTBT 0x04 /* Heartbeat sense */
114 #define WD_REVC_HRBT 0x02 /* Watchdog Heartbeat */
148 /* Watchdog's Dip Switch heartbeat values */
162 * every ~500ms. We try to set the internal heartbeat of the
200 /* default heartbeat = delay-time from dip-switches */
202 static int heartbeat = WATCHDOG_HEARTBEAT; variable
203 module_param(heartbeat, int, 0);
204 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds. "
205 "(2 <= heartbeat <= 7200 or 0=delay-time from dip-switches, default="
349 /* Reprogram internal heartbeat to 2 seconds */ in pcwd_show_card_info()
375 /* If we got a heartbeat pulse within the WDT_INTERVAL in pcwd_timer_ping()
398 pr_warn("Heartbeat lost! Will not ping the watchdog\n"); in pcwd_timer_ping()
406 pcwd_private.next_heartbeat = jiffies + (heartbeat * HZ); in pcwd_start()
461 pcwd_private.next_heartbeat = jiffies + (heartbeat * HZ); in pcwd_keepalive()
474 heartbeat = t; in pcwd_set_heartbeat()
477 pr_debug("New heartbeat: %d\n", heartbeat); in pcwd_set_heartbeat()
657 return put_user(heartbeat, argp); in pcwd_ioctl()
798 * The ISA cards have a heartbeat bit in one of the registers, which
799 * register is card dependent. The heartbeat bit is monitored, and if
907 /* If heartbeat = 0 then we use the heartbeat from the dip-switches */ in pcwd_isa_probe()
908 if (heartbeat == 0) in pcwd_isa_probe()
909 heartbeat = heartbeat_tbl[(pcwd_get_option_switches() & 0x07)]; in pcwd_isa_probe()
911 /* Check that the heartbeat value is within it's range; in pcwd_isa_probe()
913 if (pcwd_set_heartbeat(heartbeat)) { in pcwd_isa_probe()
915 pr_info("heartbeat value must be 2 <= heartbeat <= 7200, using %d\n", in pcwd_isa_probe()
935 pr_info("initialized. heartbeat=%d sec (nowayout=%d)\n", in pcwd_isa_probe()
936 heartbeat, nowayout); in pcwd_isa_probe()