Lines Matching defs:wdd
27 static int wdt_start(struct watchdog_device *wdd)
29 struct device *dev = watchdog_get_drvdata(wdd);
32 pdata->wdt_set_timeout(dev->parent, wdd->timeout * WDOG_TICK_RATE);
36 static int wdt_stop(struct watchdog_device *wdd)
38 struct device *dev = watchdog_get_drvdata(wdd);
45 static int wdt_set_timeout(struct watchdog_device *wdd, unsigned new_timeout)
47 wdd->timeout = new_timeout;
48 return wdt_start(wdd);
120 struct watchdog_device *wdd = &stmp3xxx_wdd;
122 if (watchdog_active(wdd))
123 return wdt_stop(wdd);
130 struct watchdog_device *wdd = &stmp3xxx_wdd;
132 if (watchdog_active(wdd))
133 return wdt_start(wdd);