Searched refs:real_year (Results 1 – 4 of 4) sorted by relevance
23 unsigned int year, mon, day, hour, min, sec, real_year; in read_persistent_clock() local40 real_year = CMOS_READ(RTC_DEC_YEAR); in read_persistent_clock()54 year += real_year - 72 + 2000; in read_persistent_clock()
51 unsigned int real_year; in __get_rtc_time() local80 real_year = CMOS_READ(RTC_DEC_YEAR); in __get_rtc_time()96 time->tm_year += real_year - 72; in __get_rtc_time()
179 int real_year, year_offset, err; in pcf8583_rtc_read_time() local199 real_year = year[0]; in pcf8583_rtc_read_time()207 year_offset = tm->tm_year - (real_year & 3); in pcf8583_rtc_read_time()214 tm->tm_year = (real_year + year_offset + year[1] * 100) - 1900; in pcf8583_rtc_read_time()
1300 unsigned int real_year; in rtc_get_rtc_time() local1334 real_year = CMOS_READ(RTC_DEC_YEAR); in rtc_get_rtc_time()1350 rtc_tm->tm_year += real_year - 72; in rtc_get_rtc_time()