Home
last modified time | relevance | path

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

/openbmc/qemu/include/hw/rtc/
H A Dmc146818rtc_regs.h55 #define REG_B_SET 0x80 macro
/openbmc/qemu/hw/rtc/
H A Dmc146818rtc.c82 return (!(s->cmos_data[RTC_REG_B] & REG_B_SET) && in rtc_running()
287 if ((s->cmos_data[RTC_REG_B] & REG_B_SET) || in check_update_timer()
486 if (!(s->cmos_data[RTC_REG_B] & REG_B_SET)) { in cmos_ioport_write()
508 if (data & REG_B_SET) { in cmos_ioport_write()
518 if ((s->cmos_data[RTC_REG_B] & REG_B_SET) && in cmos_ioport_write()
640 if ((s->cmos_data[RTC_REG_B] & REG_B_SET) == 0) { in rtc_update_time()
/openbmc/qemu/tests/qtest/
H A Drtc-test.c567 cmos_write(RTC_REG_B, REG_B_24H | REG_B_SET); in register_b_set_flag()
578 cmos_write(RTC_REG_B, cmos_read(RTC_REG_B) & ~REG_B_SET); in register_b_set_flag()