Lines Matching refs:watchdog_device
21 struct watchdog_device;
46 int (*start)(struct watchdog_device *);
48 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
128 static inline bool watchdog_active(struct watchdog_device *wdd) in watchdog_active() argument
137 static inline bool watchdog_hw_running(struct watchdog_device *wdd) in watchdog_hw_running()
143 static inline void watchdog_set_nowayout(struct watchdog_device *wdd, bool nowayout) in watchdog_set_nowayout()
150 static inline void watchdog_stop_on_reboot(struct watchdog_device *wdd) in watchdog_stop_on_reboot()
156 static inline void watchdog_stop_on_unregister(struct watchdog_device *wdd) in watchdog_stop_on_unregister()
162 static inline void watchdog_stop_ping_on_suspend(struct watchdog_device *wdd) in watchdog_stop_ping_on_suspend()
168 static inline bool watchdog_timeout_invalid(struct watchdog_device *wdd, unsigned int t) in watchdog_timeout_invalid()
187 static inline bool watchdog_pretimeout_invalid(struct watchdog_device *wdd, in watchdog_pretimeout_invalid()
194 static inline void watchdog_set_drvdata(struct watchdog_device *wdd, void *data) in watchdog_set_drvdata()
199 static inline void *watchdog_get_drvdata(struct watchdog_device *wdd) in watchdog_get_drvdata()
206 void watchdog_notify_pretimeout(struct watchdog_device *wdd);
208 static inline void watchdog_notify_pretimeout(struct watchdog_device *wdd) in watchdog_notify_pretimeout()
215 void watchdog_set_restart_priority(struct watchdog_device *wdd, int priority);
216 extern int watchdog_init_timeout(struct watchdog_device *wdd,
218 extern int watchdog_register_device(struct watchdog_device *);
219 extern void watchdog_unregister_device(struct watchdog_device *);
220 int watchdog_dev_suspend(struct watchdog_device *wdd);
221 int watchdog_dev_resume(struct watchdog_device *wdd);
223 int watchdog_set_last_hw_keepalive(struct watchdog_device *, unsigned int);
226 int devm_watchdog_register_device(struct device *dev, struct watchdog_device *);