Searched refs:POSIX_BASE_YEAR (Results 1 – 5 of 5) sorted by relevance
176 ct.year += POSIX_BASE_YEAR; in am335x_rtc_pmic_pwr_toggle()185 RTC_WRITE4(rtc_sc, RTC_ALARM2_YEARS, TOBCD(ct.year - POSIX_BASE_YEAR)); in am335x_rtc_pmic_pwr_toggle()
170 #define POSIX_BASE_YEAR 1970 macro
176 i = POSIX_BASE_YEAR; in clock_ct_to_ts()263 year = POSIX_BASE_YEAR; in clock_ts_to_ct()
63 sc->year_offset = POSIX_BASE_YEAR; in ds1553_attach()
219 KASSERT(ct.year >= POSIX_BASE_YEAR, ("invalid clocktime year %d", in secs_to_rtc()375 if (error || ct.year < POSIX_BASE_YEAR) { in rtc_to_secs()