Home
last modified time | relevance | path

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

/openbmc/linux/drivers/watchdog/
H A Dda9062_wdt.c34 struct watchdog_device wdtdev; member
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()
229 wdt->wdtdev.parent = dev; in da9062_wdt_probe()
233 watchdog_set_drvdata(&wdt->wdtdev, wdt); in da9062_wdt_probe()
234 dev_set_drvdata(dev, &wdt->wdtdev); in da9062_wdt_probe()
238 wdt->wdtdev.timeout = timeout; in da9062_wdt_probe()
241 watchdog_init_timeout(&wdt->wdtdev, 0, dev); in da9062_wdt_probe()
244 da9062_wdt_set_timeout(&wdt->wdtdev, wdt->wdtdev.timeout); 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()
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()
163 watchdog_set_drvdata(&wdt->wdtdev, wdt); 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 …]
/openbmc/qemu/hw/cpu/
H A Da9mpcore.c51 DeviceState *scudev, *gicdev, *gtimerdev, *mptimerdev, *wdtdev; in a9mp_priv_realize() local
113 wdtdev = DEVICE(&s->wdt); in a9mp_priv_realize()
114 qdev_prop_set_uint32(wdtdev, "num-cpu", s->num_cpu); in a9mp_priv_realize()