Go to the documentation of this file.
8 #ifndef _LINUX_WATCHDOG_H
9 #define _LINUX_WATCHDOG_H
12 #include <linux/bitops.h>
13 #include <linux/device.h>
94 #define WDOG_DEV_OPEN 1
95 #define WDOG_ALLOW_RELEASE 2
96 #define WDOG_NO_WAY_OUT 3
97 #define WDOG_UNREGISTERED 4
100 #ifdef CONFIG_WATCHDOG_NOWAYOUT
101 #define WATCHDOG_NOWAYOUT 1
102 #define WATCHDOG_NOWAYOUT_INIT_STATUS (1 << WDOG_NO_WAY_OUT)
104 #define WATCHDOG_NOWAYOUT 0
105 #define WATCHDOG_NOWAYOUT_INIT_STATUS 0
115 static inline void watchdog_set_nowayout(
struct watchdog_device *wdd,
bool nowayout)