Home
last modified time | relevance | path

Searched refs:AB8500_RTC_EPOCH (Results 1 – 1 of 1) sorted by relevance

/linux-3.4.99/drivers/rtc/
Drtc-ab8500.c47 #define AB8500_RTC_EPOCH 2000 macro
125 secs += get_elapsed_seconds(AB8500_RTC_EPOCH); in ab8500_rtc_read_time()
137 if (tm->tm_year < (AB8500_RTC_EPOCH - 1900)) { in ab8500_rtc_set_time()
139 AB8500_RTC_EPOCH); in ab8500_rtc_set_time()
150 secs -= get_elapsed_seconds(AB8500_RTC_EPOCH); in ab8500_rtc_set_time()
209 secs += get_elapsed_seconds(AB8500_RTC_EPOCH); in ab8500_rtc_read_alarm()
229 if (alarm->time.tm_year < (AB8500_RTC_EPOCH - 1900)) { in ab8500_rtc_set_alarm()
231 AB8500_RTC_EPOCH); in ab8500_rtc_set_alarm()
242 secs -= get_elapsed_seconds(AB8500_RTC_EPOCH); in ab8500_rtc_set_alarm()