Searched refs:CCR_HOUR (Results 1 – 2 of 2) sorted by relevance
27 #define CCR_HOUR 2 macro101 tm->tm_hour = bcd2bin(buf[CCR_HOUR] & 0x3F); /* hr is 0-23 */ in rtc_get()130 buf[CCR_HOUR] = bin2bcd(tm->tm_hour) | X1205_HR_MIL; in rtc_set()
28 #define CCR_HOUR 2 macro129 tm->tm_hour = bcd2bin(buf[CCR_HOUR] & 0x3F); /* hr is 0-23 */ in x1205_get_datetime()196 buf[CCR_HOUR] = bin2bcd(tm->tm_hour) | X1205_HR_MIL; in x1205_set_datetime()