Lines Matching refs:watchdog_device
21 struct watchdog_device;
46 int (*start)(struct watchdog_device *);
47 int (*stop)(struct watchdog_device *);
49 int (*ping)(struct watchdog_device *);
50 unsigned int (*status)(struct watchdog_device *);
51 int (*set_timeout)(struct watchdog_device *, unsigned int);
52 int (*set_pretimeout)(struct watchdog_device *, unsigned int);
53 unsigned int (*get_timeleft)(struct watchdog_device *);
54 int (*restart)(struct watchdog_device *, unsigned long, void *);
55 long (*ioctl)(struct watchdog_device *, unsigned int, unsigned long);
94 struct watchdog_device { struct
126 static inline bool watchdog_active(struct watchdog_device *wdd) in watchdog_active() argument
135 static inline bool watchdog_hw_running(struct watchdog_device *wdd) in watchdog_hw_running()
141 static inline void watchdog_set_nowayout(struct watchdog_device *wdd, bool nowayout) in watchdog_set_nowayout()
148 static inline void watchdog_stop_on_reboot(struct watchdog_device *wdd) in watchdog_stop_on_reboot()
154 static inline void watchdog_stop_on_unregister(struct watchdog_device *wdd) in watchdog_stop_on_unregister()
160 static inline bool watchdog_timeout_invalid(struct watchdog_device *wdd, unsigned int t) in watchdog_timeout_invalid()
179 static inline bool watchdog_pretimeout_invalid(struct watchdog_device *wdd, in watchdog_pretimeout_invalid()
186 static inline void watchdog_set_drvdata(struct watchdog_device *wdd, void *data) in watchdog_set_drvdata()
191 static inline void *watchdog_get_drvdata(struct watchdog_device *wdd) in watchdog_get_drvdata()
198 void watchdog_notify_pretimeout(struct watchdog_device *wdd);
200 static inline void watchdog_notify_pretimeout(struct watchdog_device *wdd) in watchdog_notify_pretimeout()
207 void watchdog_set_restart_priority(struct watchdog_device *wdd, int priority);
208 extern int watchdog_init_timeout(struct watchdog_device *wdd,
210 extern int watchdog_register_device(struct watchdog_device *);
211 extern void watchdog_unregister_device(struct watchdog_device *);
214 int devm_watchdog_register_device(struct device *dev, struct watchdog_device *);