Searched refs:settm (Results 1 – 1 of 1) sorted by relevance
117 static void nuc900_rtc_bin2bcd(struct device *dev, struct rtc_time *settm, in nuc900_rtc_bin2bcd() argument120 gettm->bcd_mday = bin2bcd(settm->tm_mday) << 0; in nuc900_rtc_bin2bcd()121 gettm->bcd_mon = bin2bcd(settm->tm_mon) << 8; in nuc900_rtc_bin2bcd()123 if (settm->tm_year < 100) { in nuc900_rtc_bin2bcd()125 gettm->bcd_year = bin2bcd(settm->tm_year) << 16; in nuc900_rtc_bin2bcd()127 gettm->bcd_year = bin2bcd(settm->tm_year - 100) << 16; in nuc900_rtc_bin2bcd()130 gettm->bcd_sec = bin2bcd(settm->tm_sec) << 0; in nuc900_rtc_bin2bcd()131 gettm->bcd_min = bin2bcd(settm->tm_min) << 8; in nuc900_rtc_bin2bcd()132 gettm->bcd_hour = bin2bcd(settm->tm_hour) << 16; in nuc900_rtc_bin2bcd()