Home
last modified time | relevance | path

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

/openbmc/qemu/include/hw/misc/
H A Dnpcm7xx_clk.h171 int64_t ref_ns; member
/openbmc/qemu/hw/misc/
H A Dnpcm7xx_clk.c750 value = (now_ns - s->ref_ns) / NANOSECONDS_PER_SECOND; in npcm7xx_clk_read()
761 value = (((now_ns - s->ref_ns) / 640) << 4) % NPCM7XX_CLOCK_REF_HZ; in npcm7xx_clk_read()
877 s->ref_ns = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in npcm7xx_clk_enter_reset()
1006 VMSTATE_INT64(ref_ns, NPCM7xxCLKState),