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