Searched refs:RTC_DAY_OF_WEEK (Results 1 – 14 of 14) sorted by relevance
36 #define RTC_DAY_OF_WEEK ( RTC_BASE + 0x04 ) macro47 #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()
27 #define RTC_DAY_OF_WEEK ( RTC_BASE + 4 ) macro35 #define RTC_CONTROLC RTC_DAY_OF_WEEK64 wday = rtc_read( RTC_DAY_OF_WEEK ); in rtc_get()113 rtc_write( RTC_DAY_OF_WEEK, bin2bcd( tmp->tm_wday )); in rtc_set()
32 #define RTC_DAY_OF_WEEK ( RTC_BASE + 0xc ) macro69 wday = rtc_read( RTC_DAY_OF_WEEK ); in rtc_get()118 rtc_write( RTC_DAY_OF_WEEK, bin2bcd( tmp->tm_wday )); in rtc_set()
32 #define RTC_DAY_OF_WEEK 0x06 macro94 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()
25 #define RTC_DAY_OF_WEEK 0x03 macro307 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()
91 wday = rtc_read (RTC_DAY_OF_WEEK); in rtc_get()144 rtc_write (RTC_DAY_OF_WEEK, bin2bcd(tmp->tm_wday)); in rtc_set()
22 #define RTC_DAY_OF_WEEK 0x1FFC macro
30 #define RTC_DAY_OF_WEEK 6 macro
39 #define RTC_DAY_OF_WEEK 6 macro
59 #define RTC_DAY_OF_WEEK 6 macro
270 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()
171 #define RTC_DAY_OF_WEEK 6 macro
458 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()
23 #define RTC_DAY_OF_WEEK 0xc macro