Searched refs:MVRTC_YEAR_MSK (Results 1 – 2 of 2) sorted by relevance
51 t->tm_year = bcd2bin((date >> MVRTC_YEAR_SFT) & MVRTC_YEAR_MSK); in rtc_get()82 date |= (bin2bcd(t->tm_year % 100) & MVRTC_YEAR_MSK) << MVRTC_YEAR_SFT; in rtc_set()
47 #define MVRTC_YEAR_MSK 0xff macro