Searched refs:bcd2int (Results 1 – 2 of 2) sorted by relevance
42 static int bcd2int (unsigned char b);164 static int bcd2int (unsigned char b) in bcd2int() function173 t->tm_year = bcd2int (m147_rtc->bcd_year); in mvme147_hwclk()174 t->tm_mon = bcd2int(m147_rtc->bcd_mth) - 1; in mvme147_hwclk()175 t->tm_mday = bcd2int (m147_rtc->bcd_dom); in mvme147_hwclk()176 t->tm_hour = bcd2int (m147_rtc->bcd_hr); in mvme147_hwclk()177 t->tm_min = bcd2int (m147_rtc->bcd_min); in mvme147_hwclk()178 t->tm_sec = bcd2int (m147_rtc->bcd_sec); in mvme147_hwclk()
49 int bcd2int (unsigned char b);430 int bcd2int (unsigned char b) in bcd2int() function439 t->tm_year = bcd2int (rtc->bcd_year); in mvme16x_hwclk()440 t->tm_mon = bcd2int(rtc->bcd_mth) - 1; in mvme16x_hwclk()441 t->tm_mday = bcd2int (rtc->bcd_dom); in mvme16x_hwclk()442 t->tm_hour = bcd2int (rtc->bcd_hr); in mvme16x_hwclk()443 t->tm_min = bcd2int (rtc->bcd_min); in mvme16x_hwclk()444 t->tm_sec = bcd2int (rtc->bcd_sec); in mvme16x_hwclk()