Lines Matching refs:bin2bcd
211 static inline unsigned char bin2bcd(unsigned char b)
244 Q40_RTC_SECS = bin2bcd(t->tm_sec);
245 Q40_RTC_MINS = bin2bcd(t->tm_min);
246 Q40_RTC_HOUR = bin2bcd(t->tm_hour);
247 Q40_RTC_DATE = bin2bcd(t->tm_mday);
248 Q40_RTC_MNTH = bin2bcd(t->tm_mon + 1);
249 Q40_RTC_YEAR = bin2bcd(t->tm_year%100);
251 Q40_RTC_DOW = bin2bcd(t->tm_wday+1);
298 Q40_RTC_MINS = bin2bcd(real_minutes);
299 Q40_RTC_SECS = bin2bcd(real_seconds);