Searched refs:AB8500_RTC_EPOCH (Results 1 – 1 of 1) sorted by relevance
49 #define AB8500_RTC_EPOCH 2000 macro122 secs += get_elapsed_seconds(AB8500_RTC_EPOCH); in ab8500_rtc_read_time()134 if (tm->tm_year < (AB8500_RTC_EPOCH - 1900)) { in ab8500_rtc_set_time()136 AB8500_RTC_EPOCH); in ab8500_rtc_set_time()147 secs -= get_elapsed_seconds(AB8500_RTC_EPOCH); in ab8500_rtc_set_time()206 secs += get_elapsed_seconds(AB8500_RTC_EPOCH); in ab8500_rtc_read_alarm()227 if (alarm->time.tm_year < (AB8500_RTC_EPOCH - 1900)) { in ab8500_rtc_set_alarm()229 AB8500_RTC_EPOCH); in ab8500_rtc_set_alarm()252 secs -= get_elapsed_seconds(AB8500_RTC_EPOCH); in ab8500_rtc_set_alarm()