Home
last modified time | relevance | path

Searched refs:real_year (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/arch/mips/dec/
Dtime.c23 unsigned int year, mon, day, hour, min, sec, real_year; in read_persistent_clock() local
40 real_year = CMOS_READ(RTC_DEC_YEAR); in read_persistent_clock()
54 year += real_year - 72 + 2000; in read_persistent_clock()
/linux-3.4.99/include/asm-generic/
Drtc.h51 unsigned int real_year; in __get_rtc_time() local
80 real_year = CMOS_READ(RTC_DEC_YEAR); in __get_rtc_time()
96 time->tm_year += real_year - 72; in __get_rtc_time()
/linux-3.4.99/drivers/rtc/
Drtc-pcf8583.c179 int real_year, year_offset, err; in pcf8583_rtc_read_time() local
199 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()
/linux-3.4.99/drivers/char/
Drtc.c1300 unsigned int real_year; in rtc_get_rtc_time() local
1334 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()