Searched refs:ABEOZ9_REG_HOURS (Results 1 – 1 of 1) sorted by relevance
52 #define ABEOZ9_REG_HOURS 0x0A macro164 if (regs[ABEOZ9_REG_HOURS - ABEOZ9_REG_SEC] & ABEOZ9_HOURS_PM) { in abeoz9_rtc_get_time()166 bcd2bin(regs[ABEOZ9_REG_HOURS - ABEOZ9_REG_SEC] & 0x1f); in abeoz9_rtc_get_time()167 if (regs[ABEOZ9_REG_HOURS - ABEOZ9_REG_SEC] & ABEOZ9_HOURS_PM) in abeoz9_rtc_get_time()170 tm->tm_hour = bcd2bin(regs[ABEOZ9_REG_HOURS - ABEOZ9_REG_SEC]); in abeoz9_rtc_get_time()190 regs[ABEOZ9_REG_HOURS - ABEOZ9_REG_SEC] = bin2bcd(tm->tm_hour); in abeoz9_rtc_set_time()