Searched refs:clock_ticks_to_ns (Results 1 – 9 of 9) sorted by relevance
/openbmc/qemu/target/mips/sysemu/ |
H A D | cp0_timer.c | 49 next_ns = now_ns + clock_ticks_to_ns(env->count_clock, wait); in cpu_mips_timer_update()
|
/openbmc/qemu/include/hw/ |
H A D | clock.h | 275 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 D | clocks.rst | 188 ``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 D | op_helper.c | 70 env->ccount_time + clock_ticks_to_ns(cpu->clock, dcc)); in HELPER()
|
/openbmc/qemu/hw/timer/ |
H A D | npcm7xx_timer.c | 135 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 D | armv7m_systick.c | 107 if (clock_ticks_to_ns(s->refclk, val + 1) != 10 * SCALE_MS) { in systick_read()
|
H A D | stellaris-gptm.c | 43 tick += clock_ticks_to_ns(s->clk, count); in gptm_reload()
|
H A D | sse-counter.c | 127 return s->ns_then + clock_ticks_to_ns(s->clk, tick); in sse_counter_tick_to_time()
|
/openbmc/qemu/hw/adc/ |
H A D | npcm7xx_adc.c | 81 ns = clock_ticks_to_ns(clk, ticks); in npcm7xx_adc_start_timer()
|