Searched refs:REG_B_24H (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | rtc-test.c | 97 if ((cmos_read(0x0B) & REG_B_24H) == 0) { in cmos_get_date_time() 183 cmos_write(RTC_REG_B, REG_B_24H); in set_year_20xx() 235 cmos_write(RTC_REG_B, REG_B_24H); in set_year_1980() 258 cmos_write(RTC_REG_B, REG_B_24H); in bcd_check_time() 442 set_time(REG_B_24H, 0x09, 0x59, 0x00); in basic_24h_bcd() 449 set_time(REG_B_24H, 0x09, 0x59, 0x00); in basic_24h_bcd() 454 set_time(REG_B_24H, 0x23, 0x59, 0x00); in basic_24h_bcd() 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 | 61 #define REG_B_24H 0x02 macro
|
/openbmc/qemu/hw/rtc/ |
H A D | mc146818rtc.c | 304 if (!(s->cmos_data[RTC_REG_B] & REG_B_24H)) { in convert_hour() 579 if (!(s->cmos_data[RTC_REG_B] & REG_B_24H)) { in rtc_get_time() 611 if (s->cmos_data[RTC_REG_B] & REG_B_24H) { in rtc_set_cmos()
|