Lines Matching defs:s
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() local
142 static void counter_compare(NRF51TimerState *s) in counter_compare()
160 NRF51TimerState *s = NRF51_TIMER(opaque); in nrf51_timer_read() local
202 NRF51TimerState *s = NRF51_TIMER(opaque); in nrf51_timer_write() local
319 NRF51TimerState *s = NRF51_TIMER(obj); in nrf51_timer_init() local
332 NRF51TimerState *s = NRF51_TIMER(dev); in nrf51_timer_reset() local
352 NRF51TimerState *s = NRF51_TIMER(opaque); in nrf51_timer_post_load() local