Home
last modified time | relevance | path

Searched refs:RTC_DAY_OF_MONTH (Results 1 – 18 of 18) sorted by relevance

/openbmc/qemu/tests/qtest/
H A Drtc-test.c81 mday = cmos_read(RTC_DAY_OF_MONTH); in cmos_get_date_time()
188 cmos_write(RTC_DAY_OF_MONTH, 0x02); in set_year_20xx()
197 g_assert_cmpint(cmos_read(RTC_DAY_OF_MONTH), ==, 0x02); in set_year_20xx()
214 g_assert_cmpint(cmos_read(RTC_DAY_OF_MONTH), ==, 0x02); in set_year_20xx()
226 g_assert_cmpint(cmos_read(RTC_DAY_OF_MONTH), ==, 0x02); in set_year_20xx()
240 cmos_write(RTC_DAY_OF_MONTH, 0x02); in set_year_1980()
249 g_assert_cmpint(cmos_read(RTC_DAY_OF_MONTH), ==, 0x02); in set_year_1980()
326 cmos_write(RTC_DAY_OF_MONTH, d); in set_datetime_bcd()
337 cmos_write(RTC_DAY_OF_MONTH, d); in set_datetime_dec()
365 g_assert_cmpint(cmos_read(RTC_DAY_OF_MONTH), ==, d); \
H A Dm48t59-test.c24 #define RTC_DAY_OF_MONTH 0xd macro
119 mday = cmos_read(s, RTC_DAY_OF_MONTH); in cmos_get_date_time()
/openbmc/u-boot/drivers/rtc/
H A Dds164x.c35 #define RTC_DAY_OF_MONTH ( RTC_BASE + 0x05 ) macro
66 mday = rtc_read( RTC_DAY_OF_MONTH ); in rtc_get()
117 rtc_write( RTC_DAY_OF_MONTH, bin2bcd( tmp->tm_mday )); in rtc_set()
H A Dds1556.c31 #define RTC_DAY_OF_MONTH ( RTC_BASE + 0xd ) macro
68 mday = rtc_read( RTC_DAY_OF_MONTH ); in rtc_get()
119 rtc_write( RTC_DAY_OF_MONTH, bin2bcd( tmp->tm_mday )); in rtc_set()
H A Dds174x.c26 #define RTC_DAY_OF_MONTH ( RTC_BASE + 5 ) macro
63 mday = rtc_read( RTC_DAY_OF_MONTH ); in rtc_get()
114 rtc_write( RTC_DAY_OF_MONTH, bin2bcd( tmp->tm_mday )); in rtc_set()
H A Dmk48t59.c90 mday = rtc_read (RTC_DAY_OF_MONTH); in rtc_get()
145 rtc_write (RTC_DAY_OF_MONTH, bin2bcd(tmp->tm_mday)); in rtc_set()
/openbmc/linux/arch/powerpc/platforms/chrp/
H A Dtime.c113 chrp_cmos_clock_write(tm.tm_mday,RTC_DAY_OF_MONTH); in chrp_set_rtc_time()
138 day = chrp_cmos_clock_read(RTC_DAY_OF_MONTH); in chrp_get_rtc_time()
/openbmc/linux/arch/powerpc/platforms/maple/
H A Dtime.c57 tm->tm_mday = maple_clock_read(RTC_DAY_OF_MONTH); in maple_get_rtc_time()
111 maple_clock_write(mday, RTC_DAY_OF_MONTH); in maple_set_rtc_time()
/openbmc/u-boot/include/
H A Dmk48t59.h23 #define RTC_DAY_OF_MONTH 0x1FFD macro
/openbmc/u-boot/include/linux/
H A Dmc146818rtc.h31 #define RTC_DAY_OF_MONTH 7 macro
/openbmc/qemu/include/hw/rtc/
H A Dmc146818rtc_regs.h40 #define RTC_DAY_OF_MONTH 7 macro
/openbmc/linux/include/linux/
H A Dmc146818rtc.h60 #define RTC_DAY_OF_MONTH 7 macro
/openbmc/linux/drivers/rtc/
H A Drtc-mc146818-lib.c124 p->time->tm_mday = CMOS_READ(RTC_DAY_OF_MONTH); in mc146818_get_time_callback()
294 CMOS_WRITE(day, RTC_DAY_OF_MONTH); in mc146818_set_time()
/openbmc/linux/arch/mips/include/asm/
H A Dmc146818-time.h100 day = CMOS_READ(RTC_DAY_OF_MONTH); in mc146818_get_cmos_time()
/openbmc/linux/arch/sh/include/asm/
H A Dsmc37c93x.h172 #define RTC_DAY_OF_MONTH 7 macro
/openbmc/linux/arch/m68k/atari/
H A Dtime.c267 day = RTC_READ( RTC_DAY_OF_MONTH ); in atari_tt_hwclk()
276 RTC_WRITE( RTC_DAY_OF_MONTH, day ); in atari_tt_hwclk()
/openbmc/linux/arch/mips/dec/
H A Dtime.c33 day = CMOS_READ(RTC_DAY_OF_MONTH); in read_persistent_clock64()
/openbmc/qemu/hw/rtc/
H A Dmc146818rtc.c459 case RTC_DAY_OF_MONTH: in cmos_ioport_write()
586 tm->tm_mday = rtc_from_bcd(s, s->cmos_data[RTC_DAY_OF_MONTH]); in rtc_get_time()
622 s->cmos_data[RTC_DAY_OF_MONTH] = rtc_to_bcd(s, tm->tm_mday); in rtc_set_cmos()
688 case RTC_DAY_OF_MONTH: in cmos_ioport_read()