Searched refs:bcd2int (Results 1 – 2 of 2) sorted by relevance
46 static int bcd2int (unsigned char b);143 static int bcd2int (unsigned char b) in bcd2int() function153 t->tm_year = bcd2int (m147_rtc->bcd_year); in mvme147_hwclk()154 t->tm_mon = bcd2int(m147_rtc->bcd_mth) - 1; in mvme147_hwclk()155 t->tm_mday = bcd2int (m147_rtc->bcd_dom); in mvme147_hwclk()156 t->tm_hour = bcd2int (m147_rtc->bcd_hr); in mvme147_hwclk()157 t->tm_min = bcd2int (m147_rtc->bcd_min); in mvme147_hwclk()158 t->tm_sec = bcd2int (m147_rtc->bcd_sec); in mvme147_hwclk()
51 int bcd2int (unsigned char b);390 int bcd2int (unsigned char b) in bcd2int() function400 t->tm_year = bcd2int (rtc->bcd_year); in mvme16x_hwclk()401 t->tm_mon = bcd2int(rtc->bcd_mth) - 1; in mvme16x_hwclk()402 t->tm_mday = bcd2int (rtc->bcd_dom); in mvme16x_hwclk()403 t->tm_hour = bcd2int (rtc->bcd_hr); in mvme16x_hwclk()404 t->tm_min = bcd2int (rtc->bcd_min); in mvme16x_hwclk()405 t->tm_sec = bcd2int (rtc->bcd_sec); in mvme16x_hwclk()