Lines Matching refs:tm_hour
121 else if (!s->rtc.tm.tm_hour) in menelaus_rtc_hz()
187 s->rtc.alm.tm_hour = 0x00; in menelaus_reset()
338 return to_bcd((s->rtc.tm.tm_hour % 12) + 1) | in menelaus_read()
339 (!!(s->rtc.tm.tm_hour >= 12) << 7); /* PM_nAM */ in menelaus_read()
341 return to_bcd(s->rtc.tm.tm_hour); in menelaus_read()
360 return to_bcd((s->rtc.alm.tm_hour % 12) + 1) | in menelaus_read()
361 (!!(s->rtc.alm.tm_hour >= 12) << 7);/* AL_PM_nAM */ in menelaus_read()
363 return to_bcd(s->rtc.alm.tm_hour); in menelaus_read()
566 if (s->rtc.new.tm_hour > 23) in menelaus_write()
568 tm.tm_hour = s->rtc.new.tm_hour; in menelaus_write()
589 if (s->rtc.new.tm_hour > 23) in menelaus_write()
597 tm.tm_hour = s->rtc.new.tm_hour; in menelaus_write()
618 s->rtc.tm.tm_hour = (s->rtc.ctrl & (1 << 2)) ? /* MODE12_n24 */ in menelaus_write()
643 s->rtc.alm.tm_hour = (s->rtc.ctrl & (1 << 2)) ? /* MODE12_n24 */ in menelaus_write()
774 VMSTATE_UINT16_HACK(tm_hour, struct tm),