Searched refs:timer_softc (Results 1 – 2 of 2) sorted by relevance
105 static struct mv_timer_softc *timer_softc = NULL; variable189 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 …]
78 static struct rt1310_timer_softc *timer_softc = NULL; variable146 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()