Searched refs:SCR2_TOBCD (Results 1 – 1 of 1) sorted by relevance
131 #define SCR2_TOBCD(x) (((x / 10) << 4) + (x % 10)) macro209 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()