Lines Matching defs:cdns_wdt_device
70 * @cdns_wdt_device: watchdog device structure
81 struct watchdog_device cdns_wdt_device;
292 struct watchdog_device *cdns_wdt_device;
298 cdns_wdt_device = &wdt->cdns_wdt_device;
299 cdns_wdt_device->info = &cdns_wdt_info;
300 cdns_wdt_device->ops = &cdns_wdt_ops;
301 cdns_wdt_device->timeout = CDNS_WDT_DEFAULT_TIMEOUT;
302 cdns_wdt_device->min_timeout = CDNS_WDT_MIN_TIMEOUT;
303 cdns_wdt_device->max_timeout = CDNS_WDT_MAX_TIMEOUT;
324 cdns_wdt_device->parent = dev;
326 watchdog_init_timeout(cdns_wdt_device, wdt_timeout, dev);
327 watchdog_set_nowayout(cdns_wdt_device, nowayout);
328 watchdog_stop_on_reboot(cdns_wdt_device);
329 watchdog_set_drvdata(cdns_wdt_device, wdt);
347 watchdog_stop_on_reboot(cdns_wdt_device);
348 watchdog_stop_on_unregister(cdns_wdt_device);
349 ret = devm_watchdog_register_device(dev, cdns_wdt_device);
355 cdns_wdt_device->timeout, nowayout ? ", nowayout" : "");
370 if (watchdog_active(&wdt->cdns_wdt_device)) {
371 cdns_wdt_stop(&wdt->cdns_wdt_device);
389 if (watchdog_active(&wdt->cdns_wdt_device)) {
395 cdns_wdt_start(&wdt->cdns_wdt_device);