Searched refs:HOUR_MASK (Results 1 – 2 of 2) sorted by relevance
14 #define HOUR_MASK 0x1f macro28 hour = (hour >> HOUR_SHIFT) & HOUR_MASK; in rtc_get()51 hour = (hour & HOUR_MASK) << HOUR_SHIFT; in rtc_set()
58 #define HOUR_MASK 0x3F macro213 tm->tm_hour = (time >> HOUR_SHIFT) & HOUR_MASK; in spear_rtc_read_time()267 alm->time.tm_hour = (time >> HOUR_SHIFT) & HOUR_MASK; in spear_rtc_read_alarm()