HomeSort by: relevance | last modified time | path
    Searched refs:COUNTS_PER_USEC (Results 1 - 6 of 6) sorted by relevancy

  /src/sys/arch/arm/arm32/
arm11_pmc.c 58 #define COUNTS_PER_USEC (ARM11_PMC_CCNT_HZ / 1000000)
113 #define DELAY_ARG_LIMIT (((uint32_t)~0) / COUNTS_PER_USEC) /* about 10 sec */
144 if (delta >= COUNTS_PER_USEC) {
145 usecs += delta / COUNTS_PER_USEC;
146 delta %= COUNTS_PER_USEC;
cortex_pmc.c 60 #define COUNTS_PER_USEC (curcpu()->ci_data.cpu_cc_freq / (1000*1000))
89 const uint32_t counts_per_usec = COUNTS_PER_USEC; local in function:delay
90 const uint32_t delay_arg_limit = ~0UL / counts_per_usec; /* about 10 sec */
117 if (delta >= counts_per_usec) {
118 usecs += delta / counts_per_usec;
119 delta %= counts_per_usec;
  /src/sys/arch/arm/xscale/
becc_timer.c 63 * Note, since COUNTS_PER_USEC doesn't divide evenly, we round up.
66 #define COUNTS_PER_USEC ((COUNTS_PER_SEC / 1000000) + 1)
240 if (delta >= COUNTS_PER_USEC) {
241 usecs += delta / COUNTS_PER_USEC;
242 delta %= COUNTS_PER_USEC;
i80321_timer.c 66 #define COUNTS_PER_USEC (COUNTS_PER_SEC / 1000000)
332 if (delta >= COUNTS_PER_USEC) {
333 usecs += delta / COUNTS_PER_USEC;
334 delta %= COUNTS_PER_USEC;
ixp425_timer.c 77 #define COUNTS_PER_USEC ((COUNTS_PER_SEC / 1000000) + 1)
236 if (n >= (0x80000000U / COUNTS_PER_USEC))
237 usecs = (0x80000000U / COUNTS_PER_USEC) - 1;
239 usecs = n * COUNTS_PER_USEC;
  /src/sys/arch/evbarm/iq80310/
iq80310_timer.c 79 #define COUNTS_PER_USEC (COUNTS_PER_SEC / 1000000)
293 if (delta >= COUNTS_PER_USEC) {
294 usecs += delta / COUNTS_PER_USEC;
295 delta %= COUNTS_PER_USEC;

Completed in 15 milliseconds