Lines Matching refs:wdtdev
32 struct watchdog_device wdtdev; member
102 wdt->wdtdev.info = &pmic_watchdog_info; in pmic_wdt_probe()
103 wdt->wdtdev.ops = &pmic_watchdog_ops; in pmic_wdt_probe()
104 wdt->wdtdev.min_timeout = PMIC_WDT_MIN_TIMEOUT; in pmic_wdt_probe()
105 wdt->wdtdev.max_timeout = PMIC_WDT_MAX_TIMEOUT; in pmic_wdt_probe()
106 wdt->wdtdev.parent = dev; in pmic_wdt_probe()
108 wdt->wdtdev.timeout = PMIC_WDT_DEFAULT_TIMEOUT; in pmic_wdt_probe()
109 watchdog_init_timeout(&wdt->wdtdev, 0, dev); in pmic_wdt_probe()
111 watchdog_set_nowayout(&wdt->wdtdev, nowayout); in pmic_wdt_probe()
112 watchdog_set_drvdata(&wdt->wdtdev, wdt); in pmic_wdt_probe()
114 ret = devm_watchdog_register_device(dev, &wdt->wdtdev); in pmic_wdt_probe()