Lines Matching refs:wdt
74 volatile struct wdt_sifive_reg *wdt = DEV_REG(dev); in wdt_sifive_set_max_timeout() local
77 t = wdt->wdogcfg; in wdt_sifive_set_max_timeout()
80 wdt->wdogkey = WDOG_KEY; in wdt_sifive_set_max_timeout()
81 wdt->wdogcfg = t; in wdt_sifive_set_max_timeout()
82 wdt->wdogkey = WDOG_KEY; in wdt_sifive_set_max_timeout()
83 wdt->wdogcmp0 = WDOGCMP_MAX; in wdt_sifive_set_max_timeout()
88 volatile struct wdt_sifive_reg *wdt = DEV_REG(dev); in wdt_sifive_isr() local
94 t = wdt->wdogcfg; in wdt_sifive_isr()
97 wdt->wdogkey = WDOG_KEY; in wdt_sifive_isr()
98 wdt->wdogcfg = t; in wdt_sifive_isr()
119 volatile struct wdt_sifive_reg *wdt = DEV_REG(dev); in wdt_sifive_setup() local
138 t = wdt->wdogcfg; in wdt_sifive_setup()
142 wdt->wdogkey = WDOG_KEY; in wdt_sifive_setup()
143 wdt->wdogcfg = t; in wdt_sifive_setup()
188 volatile struct wdt_sifive_reg *wdt = DEV_REG(dev); in wdt_sifive_install_timeout() local
228 t = wdt->wdogcfg; in wdt_sifive_install_timeout()
232 wdt->wdogkey = WDOG_KEY; in wdt_sifive_install_timeout()
233 wdt->wdogcfg = t; in wdt_sifive_install_timeout()
234 wdt->wdogkey = WDOG_KEY; in wdt_sifive_install_timeout()
235 wdt->wdogcmp0 = cmp; in wdt_sifive_install_timeout()
246 volatile struct wdt_sifive_reg *wdt = DEV_REG(dev); in wdt_sifive_feed() local
248 wdt->wdogkey = WDOG_KEY; in wdt_sifive_feed()
249 wdt->wdogfeed = WDOG_FEED; in wdt_sifive_feed()
254 static DEVICE_API(wdt, wdt_sifive_api) = {