Home
last modified time | relevance | path

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

/openbmc/qemu/hw/rtc/
H A Dmc146818rtc.c315 int32_t alarm_sec, alarm_min, alarm_hour, cur_hour, cur_min, cur_sec; in get_next_alarm() local
327 cur_hour = rtc_from_bcd(s, s->cmos_data[RTC_HOURS]); in get_next_alarm()
328 cur_hour = convert_hour(s, cur_hour); in get_next_alarm()
331 alarm_hour = cur_hour; in get_next_alarm()
355 } else if (cur_hour == alarm_hour) { in get_next_alarm()
398 hour = alarm_hour - cur_hour; in get_next_alarm()