Home
last modified time | relevance | path

Searched refs:TIMER_FREQ (Results 1 – 3 of 3) sorted by relevance

/u-boot/arch/arm/mach-nexell/
A Dtimer.c31 static long TIMER_FREQ = 1000000; variable
129 mout = rate / (1 << mux), scl = mout / TIMER_FREQ, in timer_init()
131 if (!(mout % TIMER_FREQ) && 256 > scl) { in timer_init()
137 if (abs(thz - TIMER_FREQ) >= cmp) in timer_init()
140 cmp = abs(thz - TIMER_FREQ); in timer_init()
145 TIMER_HZ = TIMER_FREQ / CONFIG_SYS_HZ; in timer_init()
232 tmo *= TIMER_FREQ; in __udelay()
237 tmo = usec * TIMER_FREQ; in __udelay()
271 tmo *= TIMER_FREQ; in udelay_masked()
275 tmo = usec * TIMER_FREQ; in udelay_masked()
[all …]
/u-boot/arch/arm/cpu/arm920t/ep93xx/
A Dtimer.c26 #define TIMER_FREQ 508469 /* ticks / second */ macro
37 unsigned long long ticks = (unsigned long long)usecs * TIMER_FREQ; in usecs_to_ticks()
67 do_div(sys_ticks, TIMER_FREQ); in get_ticks()
/u-boot/drivers/watchdog/
A Dmt7620_wdt.c22 #define TIMER_FREQ 40000000 macro
39 val = (TIMER_FREQ / TIMER_PRESCALE) * priv->timeout; in mt7620_wdt_ping()

Completed in 7 milliseconds