Searched refs:clocks_per_tick (Results 1 – 1 of 1) sorted by relevance
129 static unsigned long clocks_per_tick; variable132 if (!clocks_per_tick) { in setup_timers()133 clocks_per_tick = calibrate_tsc(); in setup_timers()135 printf("CPU %ld Mhz\n", (clocks_per_tick/1000 * TICKS_PER_SEC)/1000); in setup_timers()149 :"r" (clocks_per_tick), "0" (clocks_low), "d" (clocks_high)); in currticks()167 timer_timeout = now + usecs * ((clocks_per_tick * TICKS_PER_SEC)/(1000*1000)); in udelay()174 timer_timeout = now + nsecs * ((clocks_per_tick * TICKS_PER_SEC)/(1000*1000*1000)); in ndelay()183 clocks = timer2_ticks * ((clocks_per_tick * TICKS_PER_SEC)/CLOCK_TICK_RATE); in load_timer2()