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.c262 assert((s->cmos_data[RTC_REG_A] & REG_A_UIP) == 0); in check_update_timer()
282 if (!(s->cmos_data[RTC_REG_A] & REG_A_UIP) && in check_update_timer()
414 s->cmos_data[RTC_REG_A] &= ~REG_A_UIP; in rtc_update_timer()
481 s->cmos_data[RTC_REG_A] &= ~REG_A_UIP; in cmos_ioport_write()
490 s->cmos_data[RTC_REG_A] &= ~REG_A_UIP; in cmos_ioport_write()
493 s->cmos_data[RTC_REG_A] = (data & ~REG_A_UIP) | in cmos_ioport_write()
494 (s->cmos_data[RTC_REG_A] & REG_A_UIP); in cmos_ioport_write()
514 s->cmos_data[RTC_REG_A] &= ~REG_A_UIP; in cmos_ioport_write()
657 s->cmos_data[RTC_REG_A] |= REG_A_UIP; in update_in_progress()
701 ret |= REG_A_UIP; in cmos_ioport_read()
/openbmc/qemu/include/hw/rtc/
H A Dmc146818rtc_regs.h53 #define REG_A_UIP 0x80 macro