Home
last modified time | relevance | path

Searched refs:bcd2hex (Results 1 – 1 of 1) sorted by relevance

/linux-3.4.99/drivers/macintosh/
Dsmu.c355 static inline int bcd2hex (int n) in bcd2hex() function
398 time->tm_sec = bcd2hex(cmd.buffer[0]); in smu_get_rtc_time()
399 time->tm_min = bcd2hex(cmd.buffer[1]); in smu_get_rtc_time()
400 time->tm_hour = bcd2hex(cmd.buffer[2]); in smu_get_rtc_time()
401 time->tm_wday = bcd2hex(cmd.buffer[3]); in smu_get_rtc_time()
402 time->tm_mday = bcd2hex(cmd.buffer[4]); in smu_get_rtc_time()
403 time->tm_mon = bcd2hex(cmd.buffer[5]) - 1; in smu_get_rtc_time()
404 time->tm_year = bcd2hex(cmd.buffer[6]) + 100; in smu_get_rtc_time()