Searched refs:bcd2int (Results 1 – 2 of 2) sorted by relevance
45 static int bcd2int (unsigned char b);167 static int bcd2int (unsigned char b) in bcd2int() function176 t->tm_year = bcd2int (m147_rtc->bcd_year); in mvme147_hwclk()177 t->tm_mon = bcd2int(m147_rtc->bcd_mth) - 1; in mvme147_hwclk()178 t->tm_mday = bcd2int (m147_rtc->bcd_dom); in mvme147_hwclk()179 t->tm_hour = bcd2int (m147_rtc->bcd_hr); in mvme147_hwclk()180 t->tm_min = bcd2int (m147_rtc->bcd_min); in mvme147_hwclk()181 t->tm_sec = bcd2int (m147_rtc->bcd_sec); in mvme147_hwclk()
50 int bcd2int (unsigned char b);432 int bcd2int (unsigned char b) in bcd2int() function441 t->tm_year = bcd2int (rtc->bcd_year); in mvme16x_hwclk()442 t->tm_mon = bcd2int(rtc->bcd_mth) - 1; in mvme16x_hwclk()443 t->tm_mday = bcd2int (rtc->bcd_dom); in mvme16x_hwclk()444 t->tm_hour = bcd2int (rtc->bcd_hr); in mvme16x_hwclk()445 t->tm_min = bcd2int (rtc->bcd_min); in mvme16x_hwclk()446 t->tm_sec = bcd2int (rtc->bcd_sec); in mvme16x_hwclk()