Home
last modified time | relevance | path

Searched refs:RTC_DAY_OF_WEEK (Results 1 – 14 of 14) sorted by relevance

/openbmc/u-boot/drivers/rtc/
H A Dds164x.c36 #define RTC_DAY_OF_WEEK ( RTC_BASE + 0x04 ) macro
47 #define RTC_CONTROLC RTC_DAY_OF_WEEK /* FT=bit6 */
67 wday = rtc_read( RTC_DAY_OF_WEEK ); in rtc_get()
116 rtc_write( RTC_DAY_OF_WEEK, bin2bcd( tmp->tm_wday )); in rtc_set()
H A Dds174x.c27 #define RTC_DAY_OF_WEEK ( RTC_BASE + 4 ) macro
35 #define RTC_CONTROLC RTC_DAY_OF_WEEK
64 wday = rtc_read( RTC_DAY_OF_WEEK ); in rtc_get()
113 rtc_write( RTC_DAY_OF_WEEK, bin2bcd( tmp->tm_wday )); in rtc_set()
H A Dds1556.c32 #define RTC_DAY_OF_WEEK ( RTC_BASE + 0xc ) macro
69 wday = rtc_read( RTC_DAY_OF_WEEK ); in rtc_get()
118 rtc_write( RTC_DAY_OF_WEEK, bin2bcd( tmp->tm_wday )); in rtc_set()
H A Dmc146818.c32 #define RTC_DAY_OF_WEEK 0x06 macro
94 wday = mc146818_read8(RTC_DAY_OF_WEEK); in mc146818_get()
147 mc146818_write8(RTC_DAY_OF_WEEK, bin2bcd(tmp->tm_wday + 1)); in mc146818_set()
H A Dds1306.c25 #define RTC_DAY_OF_WEEK 0x03 macro
307 wday = rtc_read (RTC_DAY_OF_WEEK); in rtc_get()
373 rtc_write (RTC_DAY_OF_WEEK, bin2bcd (tmp->tm_wday + 1)); in rtc_set()
H A Dmk48t59.c91 wday = rtc_read (RTC_DAY_OF_WEEK); in rtc_get()
144 rtc_write (RTC_DAY_OF_WEEK, bin2bcd(tmp->tm_wday)); in rtc_set()
/openbmc/u-boot/include/
H A Dmk48t59.h22 #define RTC_DAY_OF_WEEK 0x1FFC macro
/openbmc/u-boot/include/linux/
H A Dmc146818rtc.h30 #define RTC_DAY_OF_WEEK 6 macro
/openbmc/qemu/include/hw/rtc/
H A Dmc146818rtc_regs.h39 #define RTC_DAY_OF_WEEK 6 macro
/openbmc/linux/include/linux/
H A Dmc146818rtc.h59 #define RTC_DAY_OF_WEEK 6 macro
/openbmc/linux/arch/m68k/atari/
H A Dtime.c270 wday = RTC_READ( RTC_DAY_OF_WEEK ); in atari_tt_hwclk()
279 if (wday >= 0) RTC_WRITE( RTC_DAY_OF_WEEK, wday ); in atari_tt_hwclk()
/openbmc/linux/arch/sh/include/asm/
H A Dsmc37c93x.h171 #define RTC_DAY_OF_WEEK 6 macro
/openbmc/qemu/hw/rtc/
H A Dmc146818rtc.c458 case RTC_DAY_OF_WEEK: in cmos_ioport_write()
585 tm->tm_wday = rtc_from_bcd(s, s->cmos_data[RTC_DAY_OF_WEEK]) - 1; in rtc_get_time()
621 s->cmos_data[RTC_DAY_OF_WEEK] = rtc_to_bcd(s, tm->tm_wday + 1); in rtc_set_cmos()
687 case RTC_DAY_OF_WEEK: in cmos_ioport_read()
/openbmc/qemu/tests/qtest/
H A Dm48t59-test.c23 #define RTC_DAY_OF_WEEK 0xc macro