Searched refs:bcd2hex (Results 1 – 1 of 1) sorted by relevance
353 static inline int bcd2hex (int n) in bcd2hex() function396 time->tm_sec = bcd2hex(cmd.buffer[0]); in smu_get_rtc_time()397 time->tm_min = bcd2hex(cmd.buffer[1]); in smu_get_rtc_time()398 time->tm_hour = bcd2hex(cmd.buffer[2]); in smu_get_rtc_time()399 time->tm_wday = bcd2hex(cmd.buffer[3]); in smu_get_rtc_time()400 time->tm_mday = bcd2hex(cmd.buffer[4]); in smu_get_rtc_time()401 time->tm_mon = bcd2hex(cmd.buffer[5]) - 1; in smu_get_rtc_time()402 time->tm_year = bcd2hex(cmd.buffer[6]) + 100; in smu_get_rtc_time()