Searched refs:real_year (Results 1 – 4 of 4) sorted by relevance
24 unsigned int year, mon, day, hour, min, sec, real_year; in read_persistent_clock64() local41 real_year = CMOS_READ(RTC_DEC_YEAR); in read_persistent_clock64()55 year += real_year - 72 + 2000; in read_persistent_clock64()
184 int real_year, year_offset, err; in pcf8583_rtc_read_time() local205 real_year = year[0]; in pcf8583_rtc_read_time()213 year_offset = tm->tm_year - (real_year & 3); in pcf8583_rtc_read_time()220 tm->tm_year = (real_year + year_offset + year[1] * 100) - 1900; in pcf8583_rtc_read_time()
31 unsigned int real_year; in mc146818_get_time() local60 real_year = CMOS_READ(RTC_DEC_YEAR); in mc146818_get_time()82 time->tm_year += real_year - 72; in mc146818_get_time()
1188 unsigned int real_year; in rtc_get_rtc_time() local1222 real_year = CMOS_READ(RTC_DEC_YEAR); in rtc_get_rtc_time()1238 rtc_tm->tm_year += real_year - 72; in rtc_get_rtc_time()