Searched refs:clock_ns_to_ticks (Results 1 – 8 of 8) sorted by relevance
/openbmc/qemu/target/mips/sysemu/ |
H A D | cp0_timer.c | 35 (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 D | clock.h | 313 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 D | op_helper.c | 46 (uint32_t)clock_ns_to_ticks(cpu->clock, now - env->time_base); in HELPER()
|
/openbmc/qemu/hw/timer/ |
H A D | armv7m_systick.c | 105 val = clock_ns_to_ticks(s->refclk, 10 * SCALE_MS) - 1; in systick_read()
|
H A D | sse-counter.c | 150 ticks = clock_ns_to_ticks(s->clk, now - s->ns_then); in sse_counter_for_timestamp()
|
H A D | npcm7xx_timer.c | 144 return clock_ns_to_ticks(t->ctrl->clock, ns) / in npcm7xx_timer_ns_to_count()
|
/openbmc/qemu/hw/misc/ |
H A D | npcm7xx_mft.c | 175 count = clock_ns_to_ticks(clock, (60 * NANOSECONDS_PER_SECOND) / in npcm7xx_mft_compute_cnt()
|
/openbmc/qemu/docs/devel/ |
H A D | clocks.rst | 394 a given duration, use ``clock_ns_to_ticks()``. This function handles
|