Home
last modified time | relevance | path

Searched refs:clock_ticks_to_ns (Results 1 – 9 of 9) sorted by relevance

/openbmc/qemu/target/mips/sysemu/
H A Dcp0_timer.c49 next_ns = now_ns + clock_ticks_to_ns(env->count_clock, wait); in cpu_mips_timer_update()
/openbmc/qemu/include/hw/
H A Dclock.h275 static inline uint64_t clock_ticks_to_ns(const Clock *clk, uint64_t ticks) in clock_ticks_to_ns() function
/openbmc/qemu/docs/devel/
H A Dclocks.rst188 ``clock_ticks_to_ns()`` will use the old period.
190 During this callback, Clock API functions like ``clock_ticks_to_ns()``
331 2^-32 nanoseconds. (For many purposes ``clock_ticks_to_ns()`` will
366 to set a timer expiry deadline. Use the function ``clock_ticks_to_ns()``,
378 a 64-bit value. To avoid overflow in this case, ``clock_ticks_to_ns()``
382 never happen" category. Callers of ``clock_ticks_to_ns()`` should
/openbmc/qemu/target/xtensa/
H A Dop_helper.c70 env->ccount_time + clock_ticks_to_ns(cpu->clock, dcc)); in HELPER()
/openbmc/qemu/hw/timer/
H A Dnpcm7xx_timer.c135 return clock_ticks_to_ns(t->ctrl->clock, ticks); in npcm7xx_timer_count_to_ns()
168 int64_t ns = clock_ticks_to_ns(t->ctrl->clock, ticks); in npcm7xx_watchdog_timer_reset_cycles()
H A Darmv7m_systick.c107 if (clock_ticks_to_ns(s->refclk, val + 1) != 10 * SCALE_MS) { in systick_read()
H A Dstellaris-gptm.c43 tick += clock_ticks_to_ns(s->clk, count); in gptm_reload()
H A Dsse-counter.c127 return s->ns_then + clock_ticks_to_ns(s->clk, tick); in sse_counter_tick_to_time()
/openbmc/qemu/hw/adc/
H A Dnpcm7xx_adc.c81 ns = clock_ticks_to_ns(clk, ticks); in npcm7xx_adc_start_timer()