Home
last modified time | relevance | path

Searched refs:ns_to_ticks (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() function
45 uint32_t ticks = ns_to_ticks(s, now - s->update_counter_ns); in update_counter()
H A Dhpet.c129 static uint64_t ns_to_ticks(uint64_t value) in ns_to_ticks() function
153 return ns_to_ticks(qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) + s->hpet_offset); in hpet_get_ticks()
/openbmc/qemu/hw/intc/
H A Dopenpic.c186 static inline uint64_t ns_to_ticks(uint64_t ns) in ns_to_ticks() function
738 uint32_t used_ticks = (uint32_t)ns_to_ticks(used); in openpic_tmr_get_timer()