Lines Matching full:tmr
388 if (d >= muldiv64(ar->tmr.overflow_time, in acpi_pm1_evt_get_sts()
418 ar->tmr.update_sci(ar); in acpi_pm1_evt_power_down()
484 expire_time = muldiv64(ar->tmr.overflow_time, NANOSECONDS_PER_SECOND, in acpi_pm_tmr_update()
486 timer_mod(ar->tmr.timer, expire_time); in acpi_pm_tmr_update()
488 timer_del(ar->tmr.timer); in acpi_pm_tmr_update()
501 ar->tmr.overflow_time = (d + 0x800000LL) & ~0x7fffffLL; in acpi_pm_tmr_calc_overflow_time()
515 ar->tmr.update_sci(ar); in acpi_pm_tmr_timer()
541 ar->tmr.update_sci = update_sci; in acpi_pm_tmr_init()
542 ar->tmr.timer = timer_new_ns(QEMU_CLOCK_VIRTUAL, acpi_pm_tmr_timer, ar); in acpi_pm_tmr_init()
543 memory_region_init_io(&ar->tmr.io, memory_region_owner(parent), in acpi_pm_tmr_init()
544 &acpi_pm_tmr_ops, ar, "acpi-tmr", 4); in acpi_pm_tmr_init()
545 memory_region_add_subregion(parent, 8, &ar->tmr.io); in acpi_pm_tmr_init()
550 ar->tmr.overflow_time = 0; in acpi_pm_tmr_reset()
551 timer_del(ar->tmr.timer); in acpi_pm_tmr_reset()