Home
last modified time | relevance | path

Searched refs:COUNTS_PER_USEC (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/sys/arch/arm/arm32/
H A Darm11_pmc.c58 #define COUNTS_PER_USEC (ARM11_PMC_CCNT_HZ / 1000000) macro
113 #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()
H A Dcortex_pmc.c60 #define COUNTS_PER_USEC (curcpu()->ci_data.cpu_cc_freq / (1000*1000)) macro
89 const uint32_t counts_per_usec = COUNTS_PER_USEC; in delay()
/netbsd-src/sys/arch/arm/xscale/
H A Dbecc_timer.c66 #define COUNTS_PER_USEC ((COUNTS_PER_SEC / 1000000) + 1) macro
240 if (delta >= COUNTS_PER_USEC) { in delay()
241 usecs += delta / COUNTS_PER_USEC; in delay()
242 delta %= COUNTS_PER_USEC; in delay()
H A Di80321_timer.c66 #define COUNTS_PER_USEC (COUNTS_PER_SEC / 1000000) macro
332 if (delta >= COUNTS_PER_USEC) { in delay()
333 usecs += delta / COUNTS_PER_USEC; in delay()
334 delta %= COUNTS_PER_USEC; in delay()
H A Dixp425_timer.c77 #define COUNTS_PER_USEC ((COUNTS_PER_SEC / 1000000) + 1) macro
236 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()
/netbsd-src/sys/arch/evbarm/iq80310/
H A Diq80310_timer.c79 #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()