Home
last modified time | relevance | path

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

/src/sys/arm/mv/armada/
H A Dwdt.c113 static struct mv_wdt_softc *wdt_softc = NULL; variable
159 if (wdt_softc != NULL) in mv_wdt_attach()
163 wdt_softc = sc; in mv_wdt_attach()
179 if (wdt_softc->wdt_config->wdt_disable != NULL) in mv_wdt_attach()
180 wdt_softc->wdt_config->wdt_disable(); in mv_wdt_attach()
190 return (bus_read_4(wdt_softc->wdt_res, CPU_TIMER_CONTROL)); in mv_get_timer_control()
197 bus_write_4(wdt_softc->wdt_res, CPU_TIMER_CONTROL, val); in mv_set_timer_control()
204 bus_write_4(wdt_softc->wdt_res, CPU_TIMER0 + timer * 0x8, val); in mv_set_timer()
350 if (wdt_softc->wdt_config->wdt_disable != NULL) in mv_watchdog_event()
351 wdt_softc->wdt_config->wdt_disable(); in mv_watchdog_event()
[all …]