Searched refs:ref_ns (Results 1 – 2 of 2) sorted by relevance
171 int64_t ref_ns; member
750 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),