Searched refs:counts_per_usec (Results 1 – 2 of 2) sorted by relevance
502 int32_t counts_per_usec; in arm_tmr_delay() local507 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()
539 int32_t counts, counts_per_usec; in arm_tmr_do_delay() local543 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()