/openbmc/qemu/tests/qtest/ |
H A D | rtc-test.c | 79 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 D | m48t59-test.c | 20 #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 D | mc146818-time.h | 45 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 D | time.c | 31 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 D | ds164x.c | 38 #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 D | ds174x.c | 29 #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 D | ds1556.c | 34 #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 D | mc146818.c | 28 #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 D | ds1306.c | 23 #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 D | mk48t59.c | 88 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 D | rtc-ds1742.c | 28 #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 D | rtc-ds1553.c | 33 #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 D | rtc-stk17ta8.c | 36 #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 D | rtc-mc146818-lib.c | 122 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 D | rtc-ds1286.c | 182 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 D | time.c | 110 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 D | time.c | 55 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 D | ds1286.h | 16 #define RTC_MINUTES 2 macro
|
/openbmc/u-boot/include/ |
H A D | mk48t59.h | 20 #define RTC_MINUTES 0x1FFA macro
|
/openbmc/u-boot/include/linux/ |
H A D | mc146818rtc.h | 23 #define RTC_MINUTES 2 macro
|
/openbmc/qemu/include/hw/rtc/ |
H A D | mc146818rtc_regs.h | 33 #define RTC_MINUTES 2 macro
|
/openbmc/linux/include/linux/ |
H A D | mc146818rtc.h | 52 #define RTC_MINUTES 2 macro
|
/openbmc/qemu/hw/rtc/ |
H A D | mc146818rtc.c | 326 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 D | time.c | 265 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 D | smc37c93x.h | 167 #define RTC_MINUTES 2 macro
|