Home
last modified time | relevance | path

Searched refs:diff_clk (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/accel/tcg/
H A Dcpu-exec.c48 int64_t diff_clk; member
75 sc->diff_clk += icount_to_ns(sc->last_cpu_icount - cpu_icount); in align_clocks()
78 if (sc->diff_clk > VM_CLOCK_ADVANCE) { in align_clocks()
81 sleep_delay.tv_sec = sc->diff_clk / 1000000000LL; in align_clocks()
82 sleep_delay.tv_nsec = sc->diff_clk % 1000000000LL; in align_clocks()
84 sc->diff_clk = rem_delay.tv_sec * 1000000000LL + rem_delay.tv_nsec; in align_clocks()
86 sc->diff_clk = 0; in align_clocks()
89 Sleep(sc->diff_clk / SCALE_MS); in align_clocks()
90 sc->diff_clk = 0; in align_clocks()
104 if ((-sc->diff_clk / (float)1000000000LL > threshold_delay) || in print_delay()
[all …]
/openbmc/linux/drivers/clk/qcom/
H A Dclk-smd-rpm.c510 DEFINE_CLK_SMD_RPM_XO_BUFFER(diff_clk, 7, 19200000);