Lines Matching refs:aw_wdog_sc
96 static struct aw_wdog_softc *aw_wdog_sc = NULL; variable
152 if (aw_wdog_sc != NULL) in aw_wdog_attach()
165 aw_wdog_sc = sc; in aw_wdog_attach()
269 if (aw_wdog_sc == NULL) { in aw_wdog_watchdog_reset()
274 WRITE(aw_wdog_sc, aw_wdog_sc->wdog_mode, aw_wdog_sc->wdog_mode_key | in aw_wdog_watchdog_reset()
275 (wd_intervals[0].value << aw_wdog_sc->wdog_mode_intvl_shift) | in aw_wdog_watchdog_reset()
276 aw_wdog_sc->wdog_mode_en); in aw_wdog_watchdog_reset()
277 if (aw_wdog_sc->wdog_config) in aw_wdog_watchdog_reset()
278 WRITE(aw_wdog_sc, aw_wdog_sc->wdog_config, in aw_wdog_watchdog_reset()
279 aw_wdog_sc->wdog_config_value); in aw_wdog_watchdog_reset()
280 WRITE(aw_wdog_sc, aw_wdog_sc->wdog_ctrl, in aw_wdog_watchdog_reset()
281 WDOG_CTRL_RESTART | aw_wdog_sc->wdog_ctrl_key); in aw_wdog_watchdog_reset()