Lines Matching refs:wdt
33 struct watchdog_device wdt;
53 static int a21_wdt_start(struct watchdog_device *wdt)
55 struct a21_wdt_drv *drv = watchdog_get_drvdata(wdt);
62 static int a21_wdt_stop(struct watchdog_device *wdt)
64 struct a21_wdt_drv *drv = watchdog_get_drvdata(wdt);
71 static int a21_wdt_ping(struct watchdog_device *wdt)
73 struct a21_wdt_drv *drv = watchdog_get_drvdata(wdt);
82 static int a21_wdt_set_timeout(struct watchdog_device *wdt,
85 struct a21_wdt_drv *drv = watchdog_get_drvdata(wdt);
88 dev_err(wdt->parent, "Only 1 and 30 allowed as timeout\n");
92 if (timeout == 30 && wdt->timeout == 1) {
93 dev_err(wdt->parent,
103 wdt->timeout = timeout;
189 drv->wdt = a21_wdt;
209 { .compatible = "men,a021-wdt" },