Home
last modified time | relevance | path

Searched refs:wdtdev (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/watchdog/
H A Dda9062_wdt.c34 struct watchdog_device wdtdev; member
90 selector = da9062_wdt_timeout_to_sel(wdt->wdtdev.timeout); in da9062_wdt_start()
222 wdt->wdtdev.info = &da9062_watchdog_info; in da9062_wdt_probe()
223 wdt->wdtdev.ops = &da9062_watchdog_ops; in da9062_wdt_probe()
224 wdt->wdtdev.min_timeout = DA9062_WDT_MIN_TIMEOUT; in da9062_wdt_probe()
225 wdt->wdtdev.max_timeout = DA9062_WDT_MAX_TIMEOUT; in da9062_wdt_probe()
226 wdt->wdtdev.min_hw_heartbeat_ms = DA9062_RESET_PROTECTION_MS; in da9062_wdt_probe()
227 wdt->wdtdev.timeout = DA9062_WDG_DEFAULT_TIMEOUT; in da9062_wdt_probe()
228 wdt->wdtdev.status = WATCHDOG_NOWAYOUT_INIT_STATUS; in da9062_wdt_probe()
229 wdt->wdtdev.parent = dev; in da9062_wdt_probe()
[all …]
H A Drzn1_wdt.c35 struct watchdog_device wdtdev; member
143 wdt->wdtdev.info = &rzn1_wdt_info; in rzn1_wdt_probe()
144 wdt->wdtdev.ops = &rzn1_wdt_ops; in rzn1_wdt_probe()
145 wdt->wdtdev.status = WATCHDOG_NOWAYOUT_INIT_STATUS; in rzn1_wdt_probe()
146 wdt->wdtdev.parent = dev; in rzn1_wdt_probe()
154 wdt->wdtdev.max_hw_heartbeat_ms = max_heart_beat_ms(wdt->clk_rate_khz); in rzn1_wdt_probe()
155 if (wdt->wdtdev.max_hw_heartbeat_ms > 1000) in rzn1_wdt_probe()
156 wdt->wdtdev.max_hw_heartbeat_ms = 1000; in rzn1_wdt_probe()
158 wdt->wdtdev.timeout = DEFAULT_TIMEOUT; in rzn1_wdt_probe()
159 ret = watchdog_init_timeout(&wdt->wdtdev, 0, dev); in rzn1_wdt_probe()
[all …]
H A Dstpmic1_wdt.c32 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()
[all …]