Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/drivers/delay_timer/
Ddelay_timer.c17 static const timer_ops_t *timer_ops; variable
25 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 …]
/external/arm-trusted-firmware/include/drivers/
Ddelay_timer.h24 typedef struct timer_ops { struct