Home
last modified time | relevance | path

Searched refs:clock_ns_to_ticks (Results 1 – 8 of 8) sorted by relevance

/openbmc/qemu/target/mips/sysemu/
H A Dcp0_timer.c35 (uint32_t)clock_ns_to_ticks(env->count_clock, now_ns); in cpu_mips_get_count_val()
92 env->CP0_Count = count - (uint32_t)clock_ns_to_ticks(env->count_clock, in cpu_mips_store_count()
119 env->CP0_Count += (uint32_t)clock_ns_to_ticks(env->count_clock, in cpu_mips_stop_count()
/openbmc/qemu/include/hw/
H A Dclock.h313 static inline uint64_t clock_ns_to_ticks(const Clock *clk, uint64_t ns) in clock_ns_to_ticks() function
/openbmc/qemu/target/xtensa/
H A Dop_helper.c46 (uint32_t)clock_ns_to_ticks(cpu->clock, now - env->time_base); in HELPER()
/openbmc/qemu/hw/timer/
H A Darmv7m_systick.c105 val = clock_ns_to_ticks(s->refclk, 10 * SCALE_MS) - 1; in systick_read()
H A Dsse-counter.c150 ticks = clock_ns_to_ticks(s->clk, now - s->ns_then); in sse_counter_for_timestamp()
H A Dnpcm7xx_timer.c144 return clock_ns_to_ticks(t->ctrl->clock, ns) / in npcm7xx_timer_ns_to_count()
/openbmc/qemu/hw/misc/
H A Dnpcm7xx_mft.c175 count = clock_ns_to_ticks(clock, (60 * NANOSECONDS_PER_SECOND) / in npcm7xx_mft_compute_cnt()
/openbmc/qemu/docs/devel/
H A Dclocks.rst394 a given duration, use ``clock_ns_to_ticks()``. This function handles