Home
last modified time | relevance | path

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

/openbmc/qemu/hw/rtc/
H A Dmc146818rtc.c322 alarm_hour = rtc_from_bcd(s, s->cmos_data[RTC_HOURS_ALARM]); in get_next_alarm()
323 alarm_hour = alarm_hour == -1 ? -1 : convert_hour(s, alarm_hour); in get_next_alarm()
330 if (alarm_hour == -1) { in get_next_alarm()
331 alarm_hour = cur_hour; in get_next_alarm()
344 alarm_hour++; in get_next_alarm()
350 alarm_hour++; in get_next_alarm()
353 alarm_hour++; in get_next_alarm()
355 } else if (cur_hour == alarm_hour) { in get_next_alarm()
394 alarm_hour++; in get_next_alarm()
396 alarm_hour %= HOUR_PER_DAY; in get_next_alarm()
[all …]
/openbmc/u-boot/drivers/rtc/
H A Dftrtc010.c21 unsigned int alarm_hour; /* 0x18 */ member