Searched refs:RTC_GET8 (Results 1 – 3 of 3) sorted by relevance
208 if (!(RTC_GET8(RTC_A) & RTC_UIP)) { in read_rtc()211 rtc->rtc_sec = RTC_GET8(RTC_SEC); in read_rtc()212 rtc->rtc_asec = RTC_GET8(RTC_ASEC); in read_rtc()213 rtc->rtc_min = RTC_GET8(RTC_MIN); in read_rtc()214 rtc->rtc_amin = RTC_GET8(RTC_AMIN); in read_rtc()216 rtc->rtc_hrs = RTC_GET8(RTC_HRS); in read_rtc()217 rtc->rtc_ahrs = RTC_GET8(RTC_AHRS); in read_rtc()218 rtc->rtc_dow = RTC_GET8(RTC_DOW); in read_rtc()219 rtc->rtc_dom = RTC_GET8(RTC_DOM); in read_rtc()220 rtc->rtc_adom = RTC_GET8(RTC_D) & 0x3f; in read_rtc()[all …]
233 if (!(RTC_GET8(RTC_A) & RTC_UIP)) { in read_rtc()236 rtc->rtc_sec = RTC_GET8(RTC_SEC); in read_rtc()237 rtc->rtc_asec = RTC_GET8(RTC_ASEC); in read_rtc()238 rtc->rtc_min = RTC_GET8(RTC_MIN); in read_rtc()239 rtc->rtc_amin = RTC_GET8(RTC_AMIN); in read_rtc()241 rtc->rtc_hrs = RTC_GET8(RTC_HRS); in read_rtc()242 rtc->rtc_ahrs = RTC_GET8(RTC_AHRS); in read_rtc()243 rtc->rtc_dow = RTC_GET8(RTC_DOW); in read_rtc()244 rtc->rtc_dom = RTC_GET8(RTC_DOM); in read_rtc()245 rtc->rtc_adom = RTC_GET8(RTC_D) & 0x3f; in read_rtc()[all …]
167 #define RTC_GET8(offset) (M5819_ADDR_REG = (offset), M5819_DATA_REG) macro