Searched refs:LP8788_BASE_YEAR (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/rtc/
H A Drtc-lp8788.c41 #define LP8788_BASE_YEAR 2000 macro
131 tm->tm_year = data[LPTIME_YEAR] + LP8788_BASE_YEAR - 1900; lp8788_rtc_read_time()
144 year = tm->tm_year + 1900 - LP8788_BASE_YEAR; lp8788_rtc_set_time()
185 tm->tm_year = data[LPTIME_YEAR] + LP8788_BASE_YEAR - 1900; lp8788_read_alarm()
200 year = tm->tm_year + 1900 - LP8788_BASE_YEAR; lp8788_set_alarm()

Completed in 27 milliseconds