Searched refs:NRF51TimerState (Results 1 – 3 of 3) sorted by relevance
28 static uint32_t ns_to_ticks(NRF51TimerState *s, int64_t ns) in ns_to_ticks()35 static int64_t ticks_to_ns(NRF51TimerState *s, uint32_t ticks) in ticks_to_ns()43 static uint32_t update_counter(NRF51TimerState *s, int64_t now) in update_counter()58 static void rearm_timer(NRF51TimerState *s, int64_t now) in rearm_timer()87 static void update_irq(NRF51TimerState *s) in update_irq()100 NRF51TimerState *s = NRF51_TIMER(opaque); in timer_expire()142 static void counter_compare(NRF51TimerState *s) in counter_compare()160 NRF51TimerState *s = NRF51_TIMER(opaque); in nrf51_timer_read()202 NRF51TimerState *s = NRF51_TIMER(opaque); in nrf51_timer_write()319 NRF51TimerState *s = NRF51_TIMER(obj); in nrf51_timer_init()[all …]
20 OBJECT_DECLARE_SIMPLE_TYPE(NRF51TimerState, NRF51_TIMER)57 struct NRF51TimerState { struct
39 NRF51TimerState timer[NRF51_NUM_TIMERS];