Searched refs:YEAR_SHIFT (Results 1 – 1 of 1) sorted by relevance
54 #define YEAR_SHIFT 0x10 /* Year shift */ macro216 tm->tm_year = (date >> YEAR_SHIFT) & YEAR_MASK; in spear_rtc_read_time()241 (tm->tm_year << YEAR_SHIFT); in spear_rtc_set_time()270 alm->time.tm_year = (date >> YEAR_SHIFT) & YEAR_MASK; in spear_rtc_read_alarm()299 MONTH_SHIFT) | (alm->time.tm_year << YEAR_SHIFT); in spear_rtc_set_alarm()