Home
last modified time | relevance | path

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

/openbmc/qemu/hw/rtc/
H A Dm48t59.c130 timer_mod(NVRAM->alrm_timer, qemu_clock_get_ns(rtc_clock) + in alarm_cb()
138 if (NVRAM->alrm_timer != NULL) { in set_alarm()
139 timer_del(NVRAM->alrm_timer); in set_alarm()
142 timer_mod(NVRAM->alrm_timer, diff * 1000); in set_alarm()
541 if (NVRAM->alrm_timer != NULL) in m48t59_reset_common()
542 timer_del(NVRAM->alrm_timer); in m48t59_reset_common()
570 s->alrm_timer = timer_new_ns(rtc_clock, &alarm_cb, s); in m48t59_realize_common()
H A Dm48t59-internal.h52 QEMUTimer *alrm_timer; member