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