Searched refs:wdt_config (Results 1 – 1 of 1) sorted by relevance
102 struct mv_wdt_config * wdt_config; member177 sc->wdt_config = (struct mv_wdt_config *) in mv_wdt_attach()180 if (sc->wdt_config->wdt_clock_src == 0) in mv_wdt_attach()181 sc->wdt_config->wdt_clock_src = get_tclk(); 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()354 if (wdt_softc->wdt_config->wdt_disable != NULL) in mv_watchdog_event()355 wdt_softc->wdt_config->wdt_disable(); in mv_watchdog_event()362 ticks = (uint64_t)(ns * sc->wdt_config->wdt_clock_src) / 1000000000; in mv_watchdog_event()364 if (wdt_softc->wdt_config->wdt_disable != NULL) in mv_watchdog_event()[all …]