Searched refs:RV3028_YEAR_OFFSET (Results 1 – 1 of 1) sorted by relevance
121 #define RV3028_YEAR_OFFSET (2000 - 1900) macro466 (timeptr->tm_year < RV3028_YEAR_OFFSET)) { in rv3028_set_time()484 date[6] = bin2bcd(timeptr->tm_year - RV3028_YEAR_OFFSET) & RV3028_YEAR_MASK; in rv3028_set_time()532 timeptr->tm_year = bcd2bin(date[6] & RV3028_YEAR_MASK) + RV3028_YEAR_OFFSET; in rv3028_get_time()