Searched refs:real_year (Results 1 – 2 of 2) sorted by relevance
64 uint32_t real_year = timeptr->tm_year + TM_YEAR_REF; in rtc_numaker_set_time() local70 if (real_year < NVT_RTC_YEAR_MIN || real_year > NVT_RTC_YEAR_MAX) { in rtc_numaker_set_time()79 curr_time.year = real_year; in rtc_numaker_set_time()
407 uint32_t real_year = timeptr->tm_year + TM_YEAR_REF; in rtc_stm32_set_time() local410 if (real_year < RTC_YEAR_REF) { in rtc_stm32_set_time()438 rtc_date.Year = bin2bcd((real_year - RTC_YEAR_REF)); in rtc_stm32_set_time()