Home
last modified time | relevance | path

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

/dev/timer/arm_generic/
A Darm_generic_timer.c231 static void test_cntpct_to_lk_time(uint32_t cntfrq, lk_time_t expected_lk_time, uint32_t wrap_count in test_cntpct_to_lk_time() argument
236 if ((uint64_t)cntfrq * wrap_count > UINT_MAX) in test_cntpct_to_lk_time()
237 cntpct += (((uint64_t)cntfrq << 32) / 1000) * wrap_count; in test_cntpct_to_lk_time()
239 cntpct += (((uint64_t)(cntfrq * wrap_count) << 32) / 1000); in test_cntpct_to_lk_time()

Completed in 8 milliseconds