Searched refs:calreg (Results 1 – 2 of 2) sorted by relevance
106 unsigned int calreg, struct rtc_time *tm) in nuc900_rtc_bcd2bin() argument108 tm->tm_mday = bcd2bin(calreg >> 0); in nuc900_rtc_bcd2bin()109 tm->tm_mon = bcd2bin(calreg >> 8); in nuc900_rtc_bcd2bin()110 tm->tm_year = bcd2bin(calreg >> 16) + 100; in nuc900_rtc_bcd2bin()
113 static void at91_rtc_decodetime(unsigned int timereg, unsigned int calreg, in at91_rtc_decodetime() argument121 date = at91_rtc_read(calreg); in at91_rtc_decodetime()123 (date != at91_rtc_read(calreg))); in at91_rtc_decodetime()