Searched refs:tcnt (Results 1 - 3 of 3) sorted by relevance
/u-boot/drivers/pwm/ |
H A D | exynos_pwm.c | 27 u32 tcnt, tcmp, tcon; local 43 tcnt = period_ns / rate_ns; 45 debug("%s: tcnt %u, tcmp %u\n", __func__, tcnt, tcmp); 48 if (tcmp == tcnt) 49 tcmp = tcnt - 1; 51 writel(tcnt, ®s->tcntb0 + offset);
|
/u-boot/arch/arm/cpu/armv7/s5p-common/ |
H A D | pwm.c | 107 unsigned long tcnt; local 130 tcnt = (period_ns / tin_ns) - 1; 132 tcnt = period_ns / tin_ns; 136 tcmp = tcnt - tcmp; 141 writel(tcnt, &pwm->tcntb0 + offset);
|
/u-boot/arch/arm/mach-nexell/ |
H A D | timer.c | 118 int tcnt, tscl = 0, tmux = 0; local 142 tcnt = tclk; /* Timer Count := 1 Mhz counting */ 144 TIMER_FREQ = tcnt; /* Timer Count := 1 Mhz counting */ 146 tcnt = TIMER_COUNT == 0xFFFFFFFF ? TIMER_COUNT + 1 : tcnt; 150 timer_count(base, ch, tcnt);
|
Completed in 87 milliseconds