Home
last modified time | relevance | path

Searched refs:RTC_DAY_OF_MONTH (Results 1 – 9 of 9) 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 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 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 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/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