Searched refs:timer_ops (Results 1 – 2 of 2) sorted by relevance
17 static const timer_ops_t *timer_ops; variable25 assert((timer_ops != NULL) && in udelay()26 (timer_ops->clk_mult != 0U) && in udelay()27 (timer_ops->clk_div != 0U) && in udelay()28 (timer_ops->get_timer_value != NULL)); in udelay()33 assert(usec < (UINT64_MAX / timer_ops->clk_div)); in udelay()35 start = timer_ops->get_timer_value(); in udelay()39 div_round_up((uint64_t)usec * timer_ops->clk_div, in udelay()40 timer_ops->clk_mult) + 1U; in udelay()55 delta = start - timer_ops->get_timer_value(); in udelay()[all …]
24 typedef struct timer_ops { struct
Completed in 2 milliseconds