Lines Matching defs:wdd
37 static int sun4v_wdt_stop(struct watchdog_device *wdd)
44 static int sun4v_wdt_ping(struct watchdog_device *wdd)
53 hverr = sun4v_mach_set_watchdog(wdd->timeout * 1000, NULL);
60 static int sun4v_wdt_set_timeout(struct watchdog_device *wdd,
63 wdd->timeout = timeout;
84 static struct watchdog_device wdd = {
141 if (*value < wdd.min_timeout * 1000)
149 if (*value < wdd.max_timeout * 1000)
150 wdd.max_timeout = *value / 1000;
153 watchdog_init_timeout(&wdd, timeout, NULL);
155 watchdog_set_nowayout(&wdd, nowayout);
157 err = watchdog_register_device(&wdd);
162 wdd.timeout, nowayout);
179 watchdog_unregister_device(&wdd);