Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/macintosh/
Dsmu.c362 static inline int hex2bcd (int n) in hex2bcd() function
374 cmd_buf->data[1] = hex2bcd(time->tm_sec); in smu_fill_set_rtc_cmd()
375 cmd_buf->data[2] = hex2bcd(time->tm_min); in smu_fill_set_rtc_cmd()
376 cmd_buf->data[3] = hex2bcd(time->tm_hour); in smu_fill_set_rtc_cmd()
378 cmd_buf->data[5] = hex2bcd(time->tm_mday); in smu_fill_set_rtc_cmd()
379 cmd_buf->data[6] = hex2bcd(time->tm_mon) + 1; in smu_fill_set_rtc_cmd()
380 cmd_buf->data[7] = hex2bcd(time->tm_year - 100); in smu_fill_set_rtc_cmd()
421 hex2bcd(time->tm_sec), in smu_set_rtc_time()
422 hex2bcd(time->tm_min), in smu_set_rtc_time()
423 hex2bcd(time->tm_hour), in smu_set_rtc_time()
[all …]