Searched refs:COUNTS_PER_USEC (Results 1 – 6 of 6) sorted by relevance
58 #define COUNTS_PER_USEC (ARM11_PMC_CCNT_HZ / 1000000) macro113 #define DELAY_ARG_LIMIT (((uint32_t)~0) / COUNTS_PER_USEC) /* about 10 sec */144 if (delta >= COUNTS_PER_USEC) { in delay()145 usecs += delta / COUNTS_PER_USEC; in delay()146 delta %= COUNTS_PER_USEC; in delay()
60 #define COUNTS_PER_USEC (curcpu()->ci_data.cpu_cc_freq / (1000*1000)) macro89 const uint32_t counts_per_usec = COUNTS_PER_USEC; in delay()
66 #define COUNTS_PER_USEC ((COUNTS_PER_SEC / 1000000) + 1) macro240 if (delta >= COUNTS_PER_USEC) { in delay()241 usecs += delta / COUNTS_PER_USEC; in delay()242 delta %= COUNTS_PER_USEC; in delay()
66 #define COUNTS_PER_USEC (COUNTS_PER_SEC / 1000000) macro332 if (delta >= COUNTS_PER_USEC) { in delay()333 usecs += delta / COUNTS_PER_USEC; in delay()334 delta %= COUNTS_PER_USEC; in delay()
77 #define COUNTS_PER_USEC ((COUNTS_PER_SEC / 1000000) + 1) macro236 if (n >= (0x80000000U / COUNTS_PER_USEC)) in delay()237 usecs = (0x80000000U / COUNTS_PER_USEC) - 1; in delay()239 usecs = n * COUNTS_PER_USEC; in delay()
79 #define COUNTS_PER_USEC (COUNTS_PER_SEC / 1000000) macro 293 if (delta >= COUNTS_PER_USEC) { in delay() 294 usecs += delta / COUNTS_PER_USEC; in delay() 295 delta %= COUNTS_PER_USEC; in delay()