Home
last modified time | relevance | path

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

/src/sys/arm/mv/
H A Dtimer.c103 static struct mv_timer_softc *timer_softc = NULL; variable
174 if (timer_softc != NULL) in mv_timer_attach()
178 timer_softc = sc; in mv_timer_attach()
197 mtx_init(&timer_softc->timer_mtx, "watchdog", NULL, MTX_DEF); in mv_timer_attach()
260 irq_cause = read_cpu_ctrl(timer_softc->config->bridge_irq_cause); in mv_hardclock()
261 irq_cause &= timer_softc->config->irq_timer0_clr; in mv_hardclock()
262 write_cpu_ctrl(timer_softc->config->bridge_irq_cause, irq_cause); in mv_hardclock()
299 nticks = ((timer_softc->config->clock_src / 1000000 + 1) * usec); in mv_delay()
334 return (bus_space_read_4(timer_softc->timer_bst, in mv_get_timer_control()
335 timer_softc->timer_bsh, CPU_TIMER_CONTROL)); in mv_get_timer_control()
[all …]