Searched refs:TIMER_FREQ (Results 1 – 3 of 3) sorted by relevance
31 static long TIMER_FREQ = 1000000; variable129 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 …]
26 #define TIMER_FREQ 508469 /* ticks / second */ macro37 unsigned long long ticks = (unsigned long long)usecs * TIMER_FREQ; in usecs_to_ticks()67 do_div(sys_ticks, TIMER_FREQ); in get_ticks()
22 #define TIMER_FREQ 40000000 macro39 val = (TIMER_FREQ / TIMER_PRESCALE) * priv->timeout; in mt7620_wdt_ping()
Completed in 7 milliseconds