Searched refs:RZN1_RTC_CAL_YEAR_SHIFT (Results 1 – 1 of 1) sorted by relevance
44 #define RZN1_RTC_CAL_YEAR_SHIFT 24 macro76 tm->tm_year = bcd2bin(val >> RZN1_RTC_CAL_YEAR_SHIFT) + 100; in rzn1_rtc_get_time_snapshot()127 val |= bin2bcd(tm->tm_year - 100) << RZN1_RTC_CAL_YEAR_SHIFT; in rzn1_rtc_set_time()