Home
last modified time | relevance | path

Searched refs:NRF51TimerState (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/hw/timer/
H A Dnrf51_timer.c28 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 …]
/openbmc/qemu/include/hw/timer/
H A Dnrf51_timer.h20 OBJECT_DECLARE_SIMPLE_TYPE(NRF51TimerState, NRF51_TIMER)
57 struct NRF51TimerState { struct
/openbmc/qemu/include/hw/arm/
H A Dnrf51_soc.h39 NRF51TimerState timer[NRF51_NUM_TIMERS];