Home
last modified time | relevance | path

Searched refs:RTC_MINUTES (Results 1 – 25 of 25) 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/linux/arch/mips/include/asm/
H A Dmc146818-time.h45 cmos_minutes = CMOS_READ(RTC_MINUTES); in mc146818_set_rtc_mmss()
67 CMOS_WRITE(real_minutes, RTC_MINUTES); in mc146818_set_rtc_mmss()
98 min = CMOS_READ(RTC_MINUTES); in mc146818_get_cmos_time()
/openbmc/linux/arch/mips/dec/
H A Dtime.c31 min = CMOS_READ(RTC_MINUTES); in read_persistent_clock64()
85 cmos_minutes = CMOS_READ(RTC_MINUTES); in update_persistent_clock64()
106 CMOS_WRITE(real_minutes, RTC_MINUTES); in update_persistent_clock64()
/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 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()
H A Dmk48t59.c88 min = rtc_read (RTC_MINUTES); in rtc_get()
147 rtc_write (RTC_MINUTES, bin2bcd(tmp->tm_min )); in rtc_set()
/openbmc/linux/drivers/rtc/
H A Drtc-ds1742.c28 #define RTC_MINUTES 2 macro
70 writeb(bin2bcd(tm->tm_min), ioaddr + RTC_MINUTES); in ds1742_rtc_set_time()
92 minute = readb(ioaddr + RTC_MINUTES); in ds1742_rtc_read_time()
H A Drtc-ds1553.c33 #define RTC_MINUTES (RTC_OFFSET + 10) macro
86 writeb(bin2bcd(tm->tm_min), ioaddr + RTC_MINUTES); in ds1553_rtc_set_time()
108 minute = readb(ioaddr + RTC_MINUTES); in ds1553_rtc_read_time()
H A Drtc-stk17ta8.c36 #define RTC_MINUTES (RTC_OFFSET + 10) macro
86 writeb(bin2bcd(tm->tm_min), ioaddr + RTC_MINUTES); in stk17ta8_rtc_set_time()
110 minute = readb(ioaddr + RTC_MINUTES); in stk17ta8_rtc_read_time()
H A Drtc-mc146818-lib.c122 p->time->tm_min = CMOS_READ(RTC_MINUTES); in mc146818_get_time_callback()
296 CMOS_WRITE(min, RTC_MINUTES); in mc146818_set_time()
H A Drtc-ds1286.c182 tm->tm_min = ds1286_rtc_read(priv, RTC_MINUTES); in ds1286_read_time()
253 ds1286_rtc_write(priv, min, RTC_MINUTES); in ds1286_set_time()
/openbmc/linux/arch/powerpc/platforms/chrp/
H A Dtime.c110 chrp_cmos_clock_write(tm.tm_min,RTC_MINUTES); in chrp_set_rtc_time()
136 min = chrp_cmos_clock_read(RTC_MINUTES); in chrp_get_rtc_time()
/openbmc/linux/arch/powerpc/platforms/maple/
H A Dtime.c55 tm->tm_min = maple_clock_read(RTC_MINUTES); in maple_get_rtc_time()
108 maple_clock_write(min, RTC_MINUTES); in maple_set_rtc_time()
/openbmc/linux/include/linux/rtc/
H A Dds1286.h16 #define RTC_MINUTES 2 macro
/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
/openbmc/linux/include/linux/
H A Dmc146818rtc.h52 #define RTC_MINUTES 2 macro
/openbmc/qemu/hw/rtc/
H A Dmc146818rtc.c326 cur_min = rtc_from_bcd(s, s->cmos_data[RTC_MINUTES]); in get_next_alarm()
456 case RTC_MINUTES: in cmos_ioport_write()
577 tm->tm_min = rtc_from_bcd(s, s->cmos_data[RTC_MINUTES]); in rtc_get_time()
610 s->cmos_data[RTC_MINUTES] = rtc_to_bcd(s, tm->tm_min); in rtc_set_cmos()
685 case RTC_MINUTES: in cmos_ioport_read()
/openbmc/linux/arch/m68k/atari/
H A Dtime.c265 min = RTC_READ( RTC_MINUTES ); in atari_tt_hwclk()
274 RTC_WRITE( RTC_MINUTES, min ); in atari_tt_hwclk()
/openbmc/linux/arch/sh/include/asm/
H A Dsmc37c93x.h167 #define RTC_MINUTES 2 macro