Lines Matching defs:timer_ops
17 static const timer_ops_t *timer_ops;
25 assert((timer_ops != NULL) &&
26 (timer_ops->clk_mult != 0U) &&
27 (timer_ops->clk_div != 0U) &&
28 (timer_ops->get_timer_value != NULL));
33 assert(usec < (UINT64_MAX / timer_ops->clk_div));
35 start = timer_ops->get_timer_value();
39 div_round_up((uint64_t)usec * timer_ops->clk_div,
40 timer_ops->clk_mult) + 1U;
55 delta = start - timer_ops->get_timer_value();
81 timer_ops = ops_ptr;