Lines Matching refs:initial_count
84 uint32_t initial_count; member
479 s->initial_count = 0; in apic_init_reset()
606 val = s->initial_count - (d % ((uint64_t)s->initial_count + 1)); in apic_get_current_count()
608 if (d >= s->initial_count) in apic_get_current_count()
611 val = s->initial_count - d; in apic_get_current_count()
624 if (!s->initial_count) in apic_timer_update()
626 d = ((d / ((uint64_t)s->initial_count + 1)) + 1) * ((uint64_t)s->initial_count + 1); in apic_timer_update()
628 if (d >= s->initial_count) in apic_timer_update()
630 d = (uint64_t)s->initial_count + 1; in apic_timer_update()
729 val = s->initial_count; in apic_mem_readl()
813 s->initial_count = val; in apic_mem_writel()
858 qemu_put_be32s(f, &s->initial_count); in apic_save()
894 qemu_get_be32s(f, &s->initial_count); in apic_load()