Home | History | Annotate | Download | only in at91

Lines Matching defs:ticks

93 /* Match value for clock timer; running at 32.768kHz, want HZ ticks per second  */
105 /* convert specified number of ticks to usec, and round up */
125 /* convert specified number of usec to timer ticks, and round up */
336 static void tdelay(unsigned int ticks)
342 end = start + ticks;
344 /* just loop for the specified number of ticks */
390 /* have more than 1 tick; just do in ticks */
391 unsigned int ticks = usec / USEC_PER_TICK;
392 if (ticks*USEC_PER_TICK != usec)
393 ticks += 1;
394 while (ticks-- > 0) {