Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-ac100.c70 #define AC100_YEAR_OFF (AC100_YEAR_MIN - 1900) macro
402 AC100_YEAR_OFF; in ac100_rtc_get_time()
415 year = rtc_tm->tm_year - AC100_YEAR_OFF; in ac100_rtc_set_time()
434 if (is_leap_year(year + AC100_YEAR_OFF + 1900)) in ac100_rtc_set_time()
477 AC100_YEAR_OFF; in ac100_rtc_get_alarm()
492 year = alrm_tm->tm_year - AC100_YEAR_OFF; in ac100_rtc_set_alarm()