Home
last modified time | relevance | path

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

/freebsd-12.1/sys/arm/mv/
H A Dtimer.c105 static struct mv_timer_softc *timer_softc = NULL; variable
189 if (timer_softc != NULL) in mv_timer_attach()
193 timer_softc = sc; in mv_timer_attach()
360 bus_space_write_4(timer_softc->timer_bst, in mv_set_timer_control()
376 bus_space_write_4(timer_softc->timer_bst, in mv_set_timer()
384 bus_space_write_4(timer_softc->timer_bst, in mv_set_timer_rel()
485 mtx_lock(&timer_softc->timer_mtx); in mv_watchdog_event()
488 timer_softc->config->watchdog_disable(); in mv_watchdog_event()
498 timer_softc->config->watchdog_disable(); in mv_watchdog_event()
502 timer_softc->config->watchdog_enable(); in mv_watchdog_event()
[all …]
/freebsd-12.1/sys/arm/ralink/
H A Drt1310_timer.c78 static struct rt1310_timer_softc *timer_softc = NULL; variable
146 if (timer_softc) in rt1310_timer_attach()
149 timer_softc = sc; in rt1310_timer_attach()
312 return ~timer1_read_4(timer_softc, RT_TIMER_VALUE); in rt1310_get_timecount()