Lines Matching refs:cdns_wdt_device
81 struct watchdog_device cdns_wdt_device; member
297 struct watchdog_device *cdns_wdt_device; in cdns_wdt_probe() local
303 cdns_wdt_device = &wdt->cdns_wdt_device; in cdns_wdt_probe()
304 cdns_wdt_device->info = &cdns_wdt_info; in cdns_wdt_probe()
305 cdns_wdt_device->ops = &cdns_wdt_ops; in cdns_wdt_probe()
306 cdns_wdt_device->timeout = CDNS_WDT_DEFAULT_TIMEOUT; in cdns_wdt_probe()
307 cdns_wdt_device->min_timeout = CDNS_WDT_MIN_TIMEOUT; in cdns_wdt_probe()
308 cdns_wdt_device->max_timeout = CDNS_WDT_MAX_TIMEOUT; in cdns_wdt_probe()
329 cdns_wdt_device->parent = dev; in cdns_wdt_probe()
331 watchdog_init_timeout(cdns_wdt_device, wdt_timeout, dev); in cdns_wdt_probe()
332 watchdog_set_nowayout(cdns_wdt_device, nowayout); in cdns_wdt_probe()
333 watchdog_stop_on_reboot(cdns_wdt_device); in cdns_wdt_probe()
334 watchdog_set_drvdata(cdns_wdt_device, wdt); in cdns_wdt_probe()
362 watchdog_stop_on_reboot(cdns_wdt_device); in cdns_wdt_probe()
363 watchdog_stop_on_unregister(cdns_wdt_device); in cdns_wdt_probe()
364 ret = devm_watchdog_register_device(dev, cdns_wdt_device); in cdns_wdt_probe()
370 cdns_wdt_device->timeout, nowayout ? ", nowayout" : ""); in cdns_wdt_probe()
385 if (watchdog_active(&wdt->cdns_wdt_device)) { in cdns_wdt_suspend()
386 cdns_wdt_stop(&wdt->cdns_wdt_device); in cdns_wdt_suspend()
404 if (watchdog_active(&wdt->cdns_wdt_device)) { in cdns_wdt_resume()
410 cdns_wdt_start(&wdt->cdns_wdt_device); in cdns_wdt_resume()