Lines Matching full:et
98 struct eventtimer et; member
276 if (sc->et.et_active) in a10_timer_irq()
277 sc->et.et_event_cb(&sc->et, sc->et.et_arg); in a10_timer_irq()
304 sc->et.et_frequency = sc->timer0_freq; in a10_timer_eventtimer_setup()
305 sc->et.et_name = "a10_timer Eventtimer"; in a10_timer_eventtimer_setup()
306 sc->et.et_flags = ET_FLAGS_ONESHOT | ET_FLAGS_PERIODIC; in a10_timer_eventtimer_setup()
307 sc->et.et_quality = 1000; in a10_timer_eventtimer_setup()
308 sc->et.et_min_period = (0x00000005LLU << 32) / sc->et.et_frequency; in a10_timer_eventtimer_setup()
309 sc->et.et_max_period = (0xfffffffeLLU << 32) / sc->et.et_frequency; in a10_timer_eventtimer_setup()
310 sc->et.et_start = a10_timer_timer_start; in a10_timer_eventtimer_setup()
311 sc->et.et_stop = a10_timer_timer_stop; in a10_timer_eventtimer_setup()
312 sc->et.et_priv = sc; in a10_timer_eventtimer_setup()
313 et_register(&sc->et); in a10_timer_eventtimer_setup()
317 a10_timer_timer_start(struct eventtimer *et, sbintime_t first, in a10_timer_timer_start() argument
324 sc = (struct a10_timer_softc *)et->et_priv; in a10_timer_timer_start()
327 sc->sc_period = ((uint32_t)et->et_frequency * period) >> 32; in a10_timer_timer_start()
331 count = ((uint32_t)et->et_frequency * first) >> 32; in a10_timer_timer_start()
355 a10_timer_timer_stop(struct eventtimer *et) in a10_timer_timer_stop() argument
360 sc = (struct a10_timer_softc *)et->et_priv; in a10_timer_timer_stop()