Home
last modified time | relevance | path

Searched refs:RTC_MINUTES (Results 1 – 11 of 11) sorted by relevance

/openbmc/qemu/tests/qtest/
H A Drtc-test.c79 min = cmos_read(RTC_MINUTES); in cmos_get_date_time()
190 cmos_write(RTC_MINUTES, 0x04); in set_year_20xx()
195 g_assert_cmpint(cmos_read(RTC_MINUTES), ==, 0x04); in set_year_20xx()
212 g_assert_cmpint(cmos_read(RTC_MINUTES), ==, 0x04); in set_year_20xx()
224 g_assert_cmpint(cmos_read(RTC_MINUTES), ==, 0x04); in set_year_20xx()
242 cmos_write(RTC_MINUTES, 0x04); in set_year_1980()
247 g_assert_cmpint(cmos_read(RTC_MINUTES), ==, 0x04); in set_year_1980()
306 cmos_write(RTC_MINUTES, m); in set_time_regs()
321 cmos_write(RTC_MINUTES, min); in set_datetime_bcd()
332 cmos_write(RTC_MINUTES, min); in set_datetime_dec()
[all …]
H A Dm48t59-test.c20 #define RTC_MINUTES 0xa macro
117 min = cmos_read(s, RTC_MINUTES); in cmos_get_date_time()
/openbmc/u-boot/drivers/rtc/
H A Dds164x.c38 #define RTC_MINUTES ( RTC_BASE + 0x02 ) macro
64 min = rtc_read( RTC_MINUTES ); in rtc_get()
119 rtc_write( RTC_MINUTES, bin2bcd( tmp->tm_min )); in rtc_set()
H A Dds174x.c29 #define RTC_MINUTES ( RTC_BASE + 2 ) macro
61 min = rtc_read( RTC_MINUTES ); in rtc_get()
116 rtc_write( RTC_MINUTES, bin2bcd( tmp->tm_min )); in rtc_set()
H A Dds1556.c34 #define RTC_MINUTES ( RTC_BASE + 0xa ) macro
66 min = rtc_read( RTC_MINUTES ); in rtc_get()
121 rtc_write( RTC_MINUTES, bin2bcd( tmp->tm_min )); in rtc_set()
H A Dmc146818.c28 #define RTC_MINUTES 0x02 macro
91 min = mc146818_read8(RTC_MINUTES); in mc146818_get()
150 mc146818_write8(RTC_MINUTES, bin2bcd(tmp->tm_min)); in mc146818_set()
H A Dmk48t59.c88 min = rtc_read (RTC_MINUTES); in rtc_get()
147 rtc_write (RTC_MINUTES, bin2bcd(tmp->tm_min )); in rtc_set()
H A Dds1306.c23 #define RTC_MINUTES 0x01 macro
304 min = rtc_read (RTC_MINUTES); in rtc_get()
371 rtc_write (RTC_MINUTES, bin2bcd (tmp->tm_min)); in rtc_set()
/openbmc/u-boot/include/
H A Dmk48t59.h20 #define RTC_MINUTES 0x1FFA macro
/openbmc/u-boot/include/linux/
H A Dmc146818rtc.h23 #define RTC_MINUTES 2 macro
/openbmc/qemu/include/hw/rtc/
H A Dmc146818rtc_regs.h33 #define RTC_MINUTES 2 macro