Lines Matching refs:bcd2bin
69 tm->tm_sec = bcd2bin(rtc_data[0]); in palmas_rtc_read_time()
70 tm->tm_min = bcd2bin(rtc_data[1]); in palmas_rtc_read_time()
71 tm->tm_hour = bcd2bin(rtc_data[2]); in palmas_rtc_read_time()
72 tm->tm_mday = bcd2bin(rtc_data[3]); in palmas_rtc_read_time()
73 tm->tm_mon = bcd2bin(rtc_data[4]) - 1; in palmas_rtc_read_time()
74 tm->tm_year = bcd2bin(rtc_data[5]) + 100; in palmas_rtc_read_time()
140 alm->time.tm_sec = bcd2bin(alarm_data[0]); in palmas_rtc_read_alarm()
141 alm->time.tm_min = bcd2bin(alarm_data[1]); in palmas_rtc_read_alarm()
142 alm->time.tm_hour = bcd2bin(alarm_data[2]); in palmas_rtc_read_alarm()
143 alm->time.tm_mday = bcd2bin(alarm_data[3]); in palmas_rtc_read_alarm()
144 alm->time.tm_mon = bcd2bin(alarm_data[4]) - 1; in palmas_rtc_read_alarm()
145 alm->time.tm_year = bcd2bin(alarm_data[5]) + 100; in palmas_rtc_read_alarm()