Home
last modified time | relevance | path

Searched refs:counts_per_usec (Results 1 – 2 of 2) sorted by relevance

/f-stack/freebsd/arm/arm/
H A Dmpcore_timer.c502 int32_t counts_per_usec; in arm_tmr_delay() local
507 counts_per_usec = ((arm_tmr_timecount.tc_frequency / 1000000) + 1); in arm_tmr_delay()
515 if (usec >= (0x80000000U / counts_per_usec)) in arm_tmr_delay()
516 counts = (0x80000000U / counts_per_usec) - 1; in arm_tmr_delay()
518 counts = usec * counts_per_usec; in arm_tmr_delay()
H A Dgeneric_timer.c539 int32_t counts, counts_per_usec; in arm_tmr_do_delay() local
543 counts_per_usec = ((arm_tmr_timecount.tc_frequency / 1000000) + 1); in arm_tmr_do_delay()
551 if (usec >= (0x80000000U / counts_per_usec)) in arm_tmr_do_delay()
552 counts = (0x80000000U / counts_per_usec) - 1; in arm_tmr_do_delay()
554 counts = usec * counts_per_usec; in arm_tmr_do_delay()