Lines Matching defs:counter
44 u8 counter;
145 * Check if the SoC als has a usable working 32 KiHz counter. The 32 KiHz
146 * counter is handled by timer-ti-32k, but we need to detect it as it
148 * typically no use for a dmtimer clocksource if the 32 KiHz counter is
411 t->counter = regbase + _OMAP_TIMER_COUNTER_OFFSET;
456 writel_relaxed(0xffffffff - cycles, t->base + t->counter);
501 writel_relaxed(clkevt->period, t->base + t->counter);
574 * For clock-event timers we never read the timer counter and
719 return (u64)readl_relaxed(t->base + t->counter);
734 clksrc->loadval = readl_relaxed(t->base + t->counter);
750 writel_relaxed(clksrc->loadval, t->base + t->counter);
785 writel_relaxed(0, t->base + t->counter);
794 dmtimer_sched_clock_counter = t->base + t->counter;