Home
last modified time | relevance | path

Searched refs:RTC_REG_B (Results 1 – 7 of 7) sorted by relevance

/openbmc/qemu/tests/qtest/
H A Drtc-test.c183 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()
288 cmos_write(RTC_REG_B, cmos_read(RTC_REG_B) | REG_B_AIE); in alarm_time()
312 cmos_write(RTC_REG_B, mode); in set_time()
342 cmos_write(RTC_REG_B, mode); in set_datetime()
485 cmos_write(RTC_REG_B, 0); in am_pm_alarm()
512 cmos_write(RTC_REG_B, REG_B_DM); in am_pm_alarm()
578 cmos_write(RTC_REG_B, cmos_read(RTC_REG_B) & ~REG_B_SET); in register_b_set_flag()
662 cmos_write(RTC_REG_B, cmos_read(RTC_REG_B) & in periodic_timer()
[all …]
/openbmc/linux/arch/arm/mach-footbridge/
H A Disa-rtc.c45 reg_b = CMOS_READ(RTC_REG_B) & 0x7f; in isa_rtc_init()
47 CMOS_WRITE(reg_b, RTC_REG_B); in isa_rtc_init()
50 CMOS_READ(RTC_REG_B) == reg_b) { in isa_rtc_init()
/openbmc/linux/arch/mips/kernel/
H A Dcevt-ds1287.c55 val = CMOS_READ(RTC_REG_B); in ds1287_shutdown()
57 CMOS_WRITE(val, RTC_REG_B); in ds1287_shutdown()
69 val = CMOS_READ(RTC_REG_B); in ds1287_set_periodic()
71 CMOS_WRITE(val, RTC_REG_B); in ds1287_set_periodic()
/openbmc/qemu/hw/rtc/
H A Dmc146818rtc.c82 return (!(s->cmos_data[RTC_REG_B] & REG_B_SET) && in rtc_running()
140 if (!(s->cmos_data[RTC_REG_B] & REG_B_PIE)) { in rtc_periodic_clock_ticks()
234 if (s->cmos_data[RTC_REG_B] & REG_B_PIE) { in rtc_periodic_timer()
304 if (!(s->cmos_data[RTC_REG_B] & REG_B_24H)) { in convert_hour()
503 case RTC_REG_B: in cmos_ioport_write()
533 s->cmos_data[RTC_REG_B] = data; in cmos_ioport_write()
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()
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()
[all …]
/openbmc/u-boot/include/linux/
H A Dmc146818rtc.h38 #define RTC_REG_B 11 macro
64 #define RTC_CONTROL RTC_REG_B
/openbmc/linux/include/linux/
H A Dmc146818rtc.h67 #define RTC_REG_B 11 macro
95 #define RTC_CONTROL RTC_REG_B
/openbmc/qemu/include/hw/rtc/
H A Dmc146818rtc_regs.h45 #define RTC_REG_B 11 macro