Searched refs:real_year (Results 1 – 3 of 3) sorted by relevance
181 int real_year, year_offset, err; in pcf8583_rtc_read_time() local202 real_year = year[0]; in pcf8583_rtc_read_time()210 year_offset = tm->tm_year - (real_year & 3); in pcf8583_rtc_read_time()217 tm->tm_year = (real_year + year_offset + year[1] * 100) - 1900; in pcf8583_rtc_read_time()
32 unsigned int real_year; in mc146818_get_time() local61 real_year = CMOS_READ(RTC_DEC_YEAR); in mc146818_get_time()83 time->tm_year += real_year - 72; in mc146818_get_time()
1183 unsigned int real_year; in rtc_get_rtc_time() local1217 real_year = CMOS_READ(RTC_DEC_YEAR); in rtc_get_rtc_time()1233 rtc_tm->tm_year += real_year - 72; in rtc_get_rtc_time()