Lines Matching full:et

64 		struct eventtimer et;  member
92 am335x_dmtimer_et_start(struct eventtimer *et, sbintime_t first, sbintime_t period) in am335x_dmtimer_et_start() argument
97 sc = et->et_priv; in am335x_dmtimer_et_start()
117 reload_count = ((uint32_t)et->et_frequency * period) >> 32; in am335x_dmtimer_et_start()
124 initial_count = ((uint32_t)et->et_frequency * first) >> 32; in am335x_dmtimer_et_start()
144 am335x_dmtimer_et_stop(struct eventtimer *et) in am335x_dmtimer_et_stop() argument
148 sc = et->et_priv; in am335x_dmtimer_et_stop()
167 if (sc->func.et.et_active) in am335x_dmtimer_et_intr()
168 sc->func.et.et_event_cb(&sc->func.et, sc->func.et.et_arg); in am335x_dmtimer_et_intr()
190 sc->func.et.et_name = sc->tmr_name; in am335x_dmtimer_et_init()
191 sc->func.et.et_flags = ET_FLAGS_PERIODIC | ET_FLAGS_ONESHOT; in am335x_dmtimer_et_init()
192 sc->func.et.et_quality = 500; in am335x_dmtimer_et_init()
193 sc->func.et.et_frequency = sc->sysclk_freq; in am335x_dmtimer_et_init()
194 sc->func.et.et_min_period = in am335x_dmtimer_et_init()
195 ((0x00000005LLU << 32) / sc->func.et.et_frequency); in am335x_dmtimer_et_init()
196 sc->func.et.et_max_period = in am335x_dmtimer_et_init()
197 (0xfffffffeLLU << 32) / sc->func.et.et_frequency; in am335x_dmtimer_et_init()
198 sc->func.et.et_start = am335x_dmtimer_et_start; in am335x_dmtimer_et_init()
199 sc->func.et.et_stop = am335x_dmtimer_et_stop; in am335x_dmtimer_et_init()
200 sc->func.et.et_priv = sc; in am335x_dmtimer_et_init()
203 et_register(&sc->func.et); in am335x_dmtimer_et_init()