Home
last modified time | relevance | path

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

/drivers/macintosh/
Dsmu.c356 static inline int hex2bcd (int n) in hex2bcd() function
368 cmd_buf->data[1] = hex2bcd(time->tm_sec); in smu_fill_set_rtc_cmd()
369 cmd_buf->data[2] = hex2bcd(time->tm_min); in smu_fill_set_rtc_cmd()
370 cmd_buf->data[3] = hex2bcd(time->tm_hour); in smu_fill_set_rtc_cmd()
372 cmd_buf->data[5] = hex2bcd(time->tm_mday); in smu_fill_set_rtc_cmd()
373 cmd_buf->data[6] = hex2bcd(time->tm_mon) + 1; in smu_fill_set_rtc_cmd()
374 cmd_buf->data[7] = hex2bcd(time->tm_year - 100); in smu_fill_set_rtc_cmd()
415 hex2bcd(time->tm_sec), in smu_set_rtc_time()
416 hex2bcd(time->tm_min), in smu_set_rtc_time()
417 hex2bcd(time->tm_hour), in smu_set_rtc_time()
[all …]