Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/rtc/
H A Dds164x.c39 #define RTC_DAY_OF_WEEK ( RTC_BASE + 0x04 ) macro
50 #define RTC_CONTROLC RTC_DAY_OF_WEEK /* FT=bit6 */
70 wday = rtc_read( RTC_DAY_OF_WEEK ); in rtc_get()
119 rtc_write( RTC_DAY_OF_WEEK, bin2bcd( tmp->tm_wday )); in rtc_set()
H A Dds174x.c30 #define RTC_DAY_OF_WEEK ( RTC_BASE + 4 ) macro
38 #define RTC_CONTROLC RTC_DAY_OF_WEEK
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 Dds1556.c33 #define RTC_DAY_OF_WEEK ( RTC_BASE + 0xc ) macro
70 wday = rtc_read( RTC_DAY_OF_WEEK ); in rtc_get()
119 rtc_write( RTC_DAY_OF_WEEK, bin2bcd( tmp->tm_wday )); in rtc_set()
H A Dmc146818.c35 #define RTC_DAY_OF_WEEK 0x06 macro
97 wday = mc146818_read8(RTC_DAY_OF_WEEK); in mc146818_get()
145 mc146818_write8(RTC_DAY_OF_WEEK, bin2bcd(tmp->tm_wday)); in mc146818_set()
H A Dds1306.c28 #define RTC_DAY_OF_WEEK 0x03 macro
310 wday = rtc_read (RTC_DAY_OF_WEEK); in rtc_get()
376 rtc_write (RTC_DAY_OF_WEEK, bin2bcd (tmp->tm_wday + 1)); in rtc_set()
H A Dmk48t59.c94 wday = rtc_read (RTC_DAY_OF_WEEK); in rtc_get()
147 rtc_write (RTC_DAY_OF_WEEK, bin2bcd(tmp->tm_wday)); in rtc_set()
/OK3568_Linux_fs/u-boot/include/
H A Dmk48t59.h23 #define RTC_DAY_OF_WEEK 0x1FFC macro
/OK3568_Linux_fs/u-boot/include/linux/
H A Dmc146818rtc.h30 #define RTC_DAY_OF_WEEK 6 macro
/OK3568_Linux_fs/kernel/include/linux/
H A Dmc146818rtc.h59 #define RTC_DAY_OF_WEEK 6 macro
/OK3568_Linux_fs/kernel/arch/m68k/atari/
H A Dtime.c269 wday = RTC_READ( RTC_DAY_OF_WEEK ); in atari_tt_hwclk()
278 if (wday >= 0) RTC_WRITE( RTC_DAY_OF_WEEK, wday ); in atari_tt_hwclk()
/OK3568_Linux_fs/kernel/arch/sh/include/asm/
H A Dsmc37c93x.h171 #define RTC_DAY_OF_WEEK 6 macro