Home | History | Annotate | Download | only in watchdog

Lines Matching refs:watchdog

3  * Watchdog Driver Test Program
16 #include <linux/watchdog.h>
35 * the PC Watchdog card to reset its internal timer so it doesn't trigger
59 printf("\nStopping watchdog ticks failed (%d)...\n", errno);
61 printf("\nStopping watchdog ticks...\n");
68 printf(" -b, --bootstatus Get last boot status (Watchdog/POR)\n");
69 printf(" -d, --disable Turn off the watchdog timer\n");
70 printf(" -e, --enable Turn on the watchdog timer\n");
89 fd = open("/dev/watchdog", O_WRONLY);
92 printf("Watchdog device not enabled.\n");
104 "Watchdog" : "Power-On-Reset");
112 printf("Watchdog card disabled.\n");
120 printf("Watchdog card enabled.\n");
128 printf("Watchdog ping rate set to %u seconds.\n", ping_rate);
134 printf("Watchdog timeout set to %u seconds.\n", flags);
147 printf("Watchdog Ticking Away!\n");
158 printf("Stopping watchdog ticks failed (%d)...\n", errno);