Lines Matching full:watchdog

3 * Watchdog Driver Test Program
7 * don't have watchdog hardware.
11 * Reference: Documentation/watchdog/watchdog-api.rst
24 #include <linux/watchdog.h>
50 * the PC Watchdog card to reset its internal timer so it doesn't trigger
74 printf("\nStopping watchdog ticks failed (%d)...\n", errno); in term()
76 printf("\nStopping watchdog ticks...\n"); in term()
83 printf(" -f, --file\t\tOpen watchdog device file\n"); in usage()
84 printf("\t\t\tDefault is /dev/watchdog\n"); in usage()
87 printf(" -b, --bootstatus\tGet last boot status (Watchdog/POR)\n"); in usage()
88 printf(" -d, --disable\t\tTurn off the watchdog timer\n"); in usage()
89 printf(" -e, --enable\t\tTurn on the watchdog timer\n"); in usage()
115 {WDIOF_ALARMONLY, "Watchdog triggers a management or other external alarm not a reboot"},
117 {WDIOS_DISABLECARD, "Turn off the watchdog timer"},
118 {WDIOS_ENABLECARD, "Turn on the watchdog timer"},
178 char *file = "/dev/watchdog"; in main()
193 printf("Watchdog device (%s) not found.\n", file); in main()
195 printf("Run watchdog as root.\n"); in main()
197 printf("Watchdog device open failed %s\n", in main()
203 * Validate that `file` is a watchdog device in main()
229 printf("Watchdog card disabled.\n"); in main()
239 printf("Watchdog card enabled.\n"); in main()
249 printf("Watchdog ping rate set to %u seconds.\n", ping_rate); in main()
270 printf("Watchdog timeout set to %u seconds.\n", flags); in main()
288 printf("Watchdog pretimeout set to %u seconds.\n", flags); in main()
335 printf("Watchdog Ticking Away!\n"); in main()
352 * enabled to ensure watchdog gets disabled on close. in main()
356 printf("Stopping watchdog ticks failed (%d)...\n", errno); in main()