Home
last modified time | relevance | path

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

/openbmc/qemu/hw/timer/
H A Dhpet.c85 uint64_t hpet_counter; /* main counter */ member
235 s->hpet_counter = hpet_get_ticks(s); in hpet_pre_save()
269 t->cmp64 = hpet_calculate_cmp64(t, s->hpet_counter, t->cmp); in hpet_post_load()
274 s->hpet_offset = ticks_to_ns(s->hpet_counter) in hpet_post_load()
353 VMSTATE_UINT64(hpet_counter, HPETState),
477 cur_tick = s->hpet_counter; in hpet_ram_read()
581 ticks_to_ns(s->hpet_counter) - qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in hpet_ram_write()
590 s->hpet_counter = hpet_get_ticks(s); in hpet_ram_write()
620 s->hpet_counter = deposit64(s->hpet_counter, shift, len, value); in hpet_ram_write()
665 s->hpet_counter = 0ULL; in hpet_reset()