Home
last modified time | relevance | path

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

/openbmc/qemu/tests/qtest/
H A Drtc-test.c561 if (cmos_read(RTC_REG_A) & REG_A_UIP) { in register_b_set_flag()
564 g_assert_cmpint(cmos_read(RTC_REG_A) & REG_A_UIP, ==, 0); in register_b_set_flag()
605 g_assert_cmpint(cmos_read(RTC_REG_A) & REG_A_UIP, ==, 0); in divider_reset()
609 g_assert_cmpint(cmos_read(RTC_REG_A) & REG_A_UIP, !=, 0); in divider_reset()
611 g_assert_cmpint(cmos_read(RTC_REG_A) & REG_A_UIP, ==, 0); in divider_reset()
623 g_assert_cmpint(cmos_read(RTC_REG_A) & REG_A_UIP, ==, 0); in uip_stuck()
633 g_assert_cmpint(cmos_read(RTC_REG_A) & REG_A_UIP, !=, 0); in uip_stuck()
638 g_assert_cmpint(cmos_read(RTC_REG_A) & REG_A_UIP, ==, 0); in uip_stuck()
/openbmc/qemu/hw/rtc/
H A Dmc146818rtc.c269 assert((s->cmos_data[RTC_REG_A] & REG_A_UIP) == 0); in check_update_timer()
289 if (!(s->cmos_data[RTC_REG_A] & REG_A_UIP) && in check_update_timer()
421 s->cmos_data[RTC_REG_A] &= ~REG_A_UIP; in rtc_update_timer()
488 s->cmos_data[RTC_REG_A] &= ~REG_A_UIP; in cmos_ioport_write()
497 s->cmos_data[RTC_REG_A] &= ~REG_A_UIP; in cmos_ioport_write()
500 s->cmos_data[RTC_REG_A] = (data & ~REG_A_UIP) | in cmos_ioport_write()
501 (s->cmos_data[RTC_REG_A] & REG_A_UIP); in cmos_ioport_write()
521 s->cmos_data[RTC_REG_A] &= ~REG_A_UIP; in cmos_ioport_write()
664 s->cmos_data[RTC_REG_A] |= REG_A_UIP; in update_in_progress()
708 ret |= REG_A_UIP; in cmos_ioport_read()
/openbmc/qemu/include/hw/rtc/
H A Dmc146818rtc_regs.h53 #define REG_A_UIP 0x80 macro