Lines Matching refs:watchdog_device

30 	extern int watchdog_register_device(struct watchdog_device *);
31 extern void watchdog_unregister_device(struct watchdog_device *);
34 The parameter of this routine is a pointer to a watchdog_device structure.
39 watchdog_device structure.
47 struct watchdog_device {
125 int (*start)(struct watchdog_device *);
127 int (*stop)(struct watchdog_device *);
128 int (*ping)(struct watchdog_device *);
129 unsigned int (*status)(struct watchdog_device *);
130 int (*set_timeout)(struct watchdog_device *, unsigned int);
131 int (*set_pretimeout)(struct watchdog_device *, unsigned int);
132 unsigned int (*get_timeleft)(struct watchdog_device *);
133 int (*restart)(struct watchdog_device *);
134 long (*ioctl)(struct watchdog_device *, unsigned int, unsigned long);
188 provided in the bootstatus variable of struct watchdog_device.
193 routine should set the timeout value of the watchdog_device to the
199 timeout value of the watchdog_device either to the requested timeout value
205 watchdog_device.timeout, this callback can be omitted.
208 infrastructure updates the timeout value of the watchdog_device internally
226 watchdog_device.pretimeout, this callback can be omitted. That means if
228 infrastructure updates the pretimeout value of the watchdog_device internally
237 call are: watchdog_device, cmd and arg.
260 * set it statically in your watchdog_device struct with
267 static inline void watchdog_set_nowayout(struct watchdog_device *wdd,
280 static inline void watchdog_set_drvdata(struct watchdog_device *wdd,
282 static inline void *watchdog_get_drvdata(struct watchdog_device *wdd)
294 extern int watchdog_init_timeout(struct watchdog_device *wdd,
301 to set the default timeout value as timeout value in the watchdog_device and
307 static inline void watchdog_stop_on_reboot(struct watchdog_device *wdd);
315 static inline void watchdog_stop_on_unregister(struct watchdog_device *wdd);
320 void watchdog_set_restart_priority(struct watchdog_device *wdd, int priority);
331 void watchdog_notify_pretimeout(struct watchdog_device *wdd)
343 int watchdog_set_last_hw_keepalive(struct watchdog_device *wdd,