Home
last modified time | relevance | path

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

/openbmc/qemu/hw/m68k/
H A Dnext-cube.c131 #define SCR2_TOBCD(x) (((x / 10) << 4) + (x % 10)) macro
209 ret = SCR2_TOBCD(info->tm_sec); in next_scr2_rtc_update()
212 ret = SCR2_TOBCD(info->tm_min); in next_scr2_rtc_update()
215 ret = SCR2_TOBCD(info->tm_hour); in next_scr2_rtc_update()
218 ret = SCR2_TOBCD(info->tm_mday); in next_scr2_rtc_update()
221 ret = SCR2_TOBCD((info->tm_mon + 1)); in next_scr2_rtc_update()
224 ret = SCR2_TOBCD((info->tm_year - 100)); in next_scr2_rtc_update()