Lines Matching refs:wdd
47 struct watchdog_device wdd; member
119 static int max63xx_wdt_ping(struct watchdog_device *wdd) in max63xx_wdt_ping() argument
121 struct max63xx_wdt *wdt = watchdog_get_drvdata(wdd); in max63xx_wdt_ping()
127 static int max63xx_wdt_start(struct watchdog_device *wdd) in max63xx_wdt_start() argument
129 struct max63xx_wdt *wdt = watchdog_get_drvdata(wdd); in max63xx_wdt_start()
139 static int max63xx_wdt_stop(struct watchdog_device *wdd) in max63xx_wdt_stop() argument
141 struct max63xx_wdt *wdt = watchdog_get_drvdata(wdd); in max63xx_wdt_stop()
228 platform_set_drvdata(pdev, &wdt->wdd); in max63xx_wdt_probe()
229 watchdog_set_drvdata(&wdt->wdd, wdt); in max63xx_wdt_probe()
231 wdt->wdd.parent = &pdev->dev; in max63xx_wdt_probe()
232 wdt->wdd.timeout = wdt->timeout->twd; in max63xx_wdt_probe()
233 wdt->wdd.info = &max63xx_wdt_info; in max63xx_wdt_probe()
234 wdt->wdd.ops = &max63xx_wdt_ops; in max63xx_wdt_probe()
236 watchdog_set_nowayout(&wdt->wdd, nowayout); in max63xx_wdt_probe()
238 err = watchdog_register_device(&wdt->wdd); in max63xx_wdt_probe()
249 struct watchdog_device *wdd = platform_get_drvdata(pdev); in max63xx_wdt_remove() local
251 watchdog_unregister_device(wdd); in max63xx_wdt_remove()