Searched refs:REG_B_DM (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | rtc-test.c | 85 if ((cmos_read(RTC_REG_B) & REG_B_DM) == 0) { in cmos_get_date_time() 345 if (mode & REG_B_DM) { in set_datetime() 411 set_time(REG_B_DM, 0x81, 59, 0); in basic_12h_dec() 418 set_time(REG_B_DM, 0x8c, 59, 59); in basic_12h_dec() 423 set_time(REG_B_DM, 0x0c, 59, 59); in basic_12h_dec() 428 set_time(REG_B_DM, 0x0b, 59, 59); in basic_12h_dec() 433 set_time(REG_B_DM, 0x8b, 59, 59); in basic_12h_dec() 462 set_time(REG_B_24H | REG_B_DM, 9, 59, 0); in basic_24h_dec() 469 set_time(REG_B_24H | REG_B_DM, 9, 59, 0); in basic_24h_dec() 474 set_time(REG_B_24H | REG_B_DM, 23, 59, 0); in basic_24h_dec() [all …]
|
/openbmc/qemu/include/hw/rtc/ |
H A D | mc146818rtc_regs.h | 60 #define REG_B_DM 0x04 macro
|
/openbmc/qemu/hw/rtc/ |
H A D | mc146818rtc.c | 555 if (s->cmos_data[RTC_REG_B] & REG_B_DM) { in rtc_to_bcd() 567 if (s->cmos_data[RTC_REG_B] & REG_B_DM) { in rtc_from_bcd()
|