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);
119 struct watchdog_device *wdd = &stmp3xxx_wdd;
121 if (watchdog_active(wdd))
122 return wdt_stop(wdd);
129 struct watchdog_device *wdd = &stmp3xxx_wdd;
131 if (watchdog_active(wdd))
132 return wdt_start(wdd);