Home
last modified time | relevance | path

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

/external/qemu/hw/
Dmc146818rtc.c68 struct tm current_tm; member
287 struct tm *tm = &s->current_tm; in rtc_set_time()
304 const struct tm *tm = &s->current_tm; in rtc_copy_date()
391 rtc_next_second(&s->current_tm); in rtc_update_second()
418 s->cmos_data[RTC_SECONDS_ALARM] == s->current_tm.tm_sec) && in rtc_update_second2()
420 s->cmos_data[RTC_MINUTES_ALARM] == s->current_tm.tm_mon) && in rtc_update_second2()
422 s->cmos_data[RTC_HOURS_ALARM] == s->current_tm.tm_hour)) { in rtc_update_second2()
487 s->current_tm = *tm; in rtc_set_date()
516 qemu_put_be32(f, s->current_tm.tm_sec); in rtc_save()
517 qemu_put_be32(f, s->current_tm.tm_min); in rtc_save()
[all …]