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);
97 struct watchdog_device { struct
129 static inline bool watchdog_active(struct watchdog_device *wdd) in watchdog_active() argument
138 static inline bool watchdog_hw_running(struct watchdog_device *wdd) in watchdog_hw_running()
144 static inline void watchdog_set_nowayout(struct watchdog_device *wdd, bool nowayout) in watchdog_set_nowayout()
151 static inline void watchdog_stop_on_reboot(struct watchdog_device *wdd) in watchdog_stop_on_reboot()
157 static inline void watchdog_stop_on_unregister(struct watchdog_device *wdd) in watchdog_stop_on_unregister()
163 static inline bool watchdog_timeout_invalid(struct watchdog_device *wdd, unsigned int t) in watchdog_timeout_invalid()
182 static inline bool watchdog_pretimeout_invalid(struct watchdog_device *wdd, in watchdog_pretimeout_invalid()
189 static inline void watchdog_set_drvdata(struct watchdog_device *wdd, void *data) in watchdog_set_drvdata()
194 static inline void *watchdog_get_drvdata(struct watchdog_device *wdd) in watchdog_get_drvdata()
201 void watchdog_notify_pretimeout(struct watchdog_device *wdd);
203 static inline void watchdog_notify_pretimeout(struct watchdog_device *wdd) in watchdog_notify_pretimeout()
210 void watchdog_set_restart_priority(struct watchdog_device *wdd, int priority);
211 extern int watchdog_init_timeout(struct watchdog_device *wdd,
213 extern int watchdog_register_device(struct watchdog_device *);
214 extern void watchdog_unregister_device(struct watchdog_device *);
217 int devm_watchdog_register_device(struct device *dev, struct watchdog_device *);