Home
last modified time | relevance | path

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

/trusted-firmware-a/drivers/delay_timer/
A 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 …]
/trusted-firmware-a/include/drivers/
A Ddelay_timer.h24 typedef struct timer_ops { struct

Completed in 2 milliseconds