Searched refs:RTC_OFFSET_HOUR (Results 1 – 2 of 2) sorted by relevance
76 tm->tm_hour = data[RTC_OFFSET_HOUR]; in __mtk_rtc_read_time()130 data[RTC_OFFSET_HOUR] = tm->tm_hour; in mtk_rtc_set_time()176 tm->tm_hour = data[RTC_OFFSET_HOUR] & RTC_AL_HOU_MASK; in mtk_rtc_read_alarm()210 data[RTC_OFFSET_HOUR] = ((data[RTC_OFFSET_HOUR] & ~(RTC_AL_HOU_MASK)) | in mtk_rtc_set_alarm()
43 #define RTC_OFFSET_HOUR 2 macro