Home
last modified time | relevance | path

Searched refs:calreg (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/rtc/
Drtc-nuc900.c106 unsigned int calreg, struct rtc_time *tm) in nuc900_rtc_bcd2bin() argument
108 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()
Drtc-at91rm9200.c113 static void at91_rtc_decodetime(unsigned int timereg, unsigned int calreg, in at91_rtc_decodetime() argument
121 date = at91_rtc_read(calreg); in at91_rtc_decodetime()
123 (date != at91_rtc_read(calreg))); in at91_rtc_decodetime()