Searched refs:RTC_DAY_OF_MONTH (Results 1 – 9 of 9) sorted by relevance
| /openbmc/qemu/tests/qtest/ |
| H A D | rtc-test.c | 81 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 D | m48t59-test.c | 24 #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 D | ds164x.c | 35 #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 D | ds174x.c | 26 #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 D | ds1556.c | 31 #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 D | mk48t59.c | 90 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 D | mk48t59.h | 23 #define RTC_DAY_OF_MONTH 0x1FFD macro
|
| /openbmc/u-boot/include/linux/ |
| H A D | mc146818rtc.h | 31 #define RTC_DAY_OF_MONTH 7 macro
|
| /openbmc/qemu/include/hw/rtc/ |
| H A D | mc146818rtc_regs.h | 40 #define RTC_DAY_OF_MONTH 7 macro
|