Searched refs:wdt_softc (Results 1 – 1 of 1) sorted by relevance
117 static struct mv_wdt_softc *wdt_softc = NULL; variable163 if (wdt_softc != NULL) in mv_wdt_attach()167 wdt_softc = sc; in mv_wdt_attach()183 if (wdt_softc->wdt_config->wdt_disable != NULL) in mv_wdt_attach()184 wdt_softc->wdt_config->wdt_disable(); in mv_wdt_attach()194 return (bus_read_4(wdt_softc->wdt_res, CPU_TIMER_CONTROL)); in mv_get_timer_control()201 bus_write_4(wdt_softc->wdt_res, CPU_TIMER_CONTROL, val); in mv_set_timer_control()208 bus_write_4(wdt_softc->wdt_res, CPU_TIMER0 + timer * 0x8, val); in mv_set_timer()354 if (wdt_softc->wdt_config->wdt_disable != NULL) in mv_watchdog_event()355 wdt_softc->wdt_config->wdt_disable(); in mv_watchdog_event()[all …]