Lines Matching refs:rtc_read
73 #define rtc_read(reg) buf[((reg) + 1) & 0xf] macro
89 sec = rtc_read(RTC_SEC_REG_ADDR); in rtc_get()
90 min = rtc_read(RTC_MIN_REG_ADDR); in rtc_get()
91 hour = rtc_read(RTC_HR_REG_ADDR); in rtc_get()
92 wday = rtc_read(RTC_DAY_REG_ADDR); in rtc_get()
93 mday = rtc_read(RTC_DATE_REG_ADDR); in rtc_get()
94 mon = rtc_read(RTC_MON_REG_ADDR); in rtc_get()
95 year = rtc_read(RTC_YR_REG_ADDR); in rtc_get()
102 ctl2 = rtc_read(RTC_CTL2_REG_ADDR); in rtc_get()
120 if (rtc_read(RTC_CTL1_REG_ADDR) & RTC_CTL1_BIT_2412) in rtc_get()
175 ctl2 = rtc_read(RTC_CTL2_REG_ADDR); in rtc_reset()