Lines Matching defs:counter
78 * This is because the counter decrements to zero after N+1 enabled clock
79 * periods where N is the value loaded into the counter.
292 u_int counter;
296 counter = clk_gettick();
300 * Handle the situation of a wrapped interval counter, while
306 if (counter < prev_counter && cur_hardclock == prev_hardclock)
310 prev_counter = counter;
312 return cur_hardclock * amiga_clk_interval + counter;
383 * This code implements a 32-bit recycling counter (with a 4 usec period)
384 * using timers 2 & 3 on the 6840 clock chip. The counter can be mapped