Lines Matching refs:watchdog_device
68 struct watchdog_device *wdd;
90 static inline bool watchdog_need_worker(struct watchdog_device *wdd) in watchdog_need_worker()
113 static ktime_t watchdog_next_keepalive(struct watchdog_device *wdd) in watchdog_next_keepalive()
142 static inline void watchdog_update_worker(struct watchdog_device *wdd) in watchdog_update_worker()
156 static int __watchdog_ping(struct watchdog_device *wdd) in __watchdog_ping()
197 static int watchdog_ping(struct watchdog_device *wdd) in watchdog_ping()
212 struct watchdog_device *wdd = wd_data->wdd; in watchdog_worker_should_ping()
250 static int watchdog_start(struct watchdog_device *wdd) in watchdog_start()
287 static int watchdog_stop(struct watchdog_device *wdd) in watchdog_stop()
324 static unsigned int watchdog_get_status(struct watchdog_device *wdd) in watchdog_get_status()
357 static int watchdog_set_timeout(struct watchdog_device *wdd, in watchdog_set_timeout()
388 static int watchdog_set_pretimeout(struct watchdog_device *wdd, in watchdog_set_pretimeout()
417 static int watchdog_get_timeleft(struct watchdog_device *wdd, in watchdog_get_timeleft()
434 struct watchdog_device *wdd = dev_get_drvdata(dev); in nowayout_show()
443 struct watchdog_device *wdd = dev_get_drvdata(dev); in status_show()
458 struct watchdog_device *wdd = dev_get_drvdata(dev); in bootstatus_show()
467 struct watchdog_device *wdd = dev_get_drvdata(dev); in timeleft_show()
485 struct watchdog_device *wdd = dev_get_drvdata(dev); in timeout_show()
494 struct watchdog_device *wdd = dev_get_drvdata(dev); in pretimeout_show()
503 struct watchdog_device *wdd = dev_get_drvdata(dev); in identity_show()
512 struct watchdog_device *wdd = dev_get_drvdata(dev); in state_show()
532 struct watchdog_device *wdd = dev_get_drvdata(dev); in pretimeout_governor_show()
541 struct watchdog_device *wdd = dev_get_drvdata(dev); in pretimeout_governor_store()
555 struct watchdog_device *wdd = dev_get_drvdata(dev); in wdt_is_visible()
603 static int watchdog_ioctl_op(struct watchdog_device *wdd, unsigned int cmd, in watchdog_ioctl_op()
628 struct watchdog_device *wdd; in watchdog_write()
680 struct watchdog_device *wdd; in watchdog_ioctl()
791 struct watchdog_device *wdd; in watchdog_open()
859 struct watchdog_device *wdd; in watchdog_release()
930 static int watchdog_cdev_register(struct watchdog_device *wdd, dev_t devno) in watchdog_cdev_register()
1012 static void watchdog_cdev_unregister(struct watchdog_device *wdd) in watchdog_cdev_unregister()
1047 struct watchdog_device *wdd; in watchdog_reboot_notifier()
1049 wdd = container_of(nb, struct watchdog_device, reboot_nb); in watchdog_reboot_notifier()
1072 int watchdog_dev_register(struct watchdog_device *wdd) in watchdog_dev_register()
1121 void watchdog_dev_unregister(struct watchdog_device *wdd) in watchdog_dev_unregister()