Searched refs:HOUR_SHIFT (Results 1 – 2 of 2) sorted by relevance
13 #define HOUR_SHIFT 8 macro28 hour = (hour >> HOUR_SHIFT) & HOUR_MASK; in rtc_get()51 hour = (hour & HOUR_MASK) << HOUR_SHIFT; in rtc_set()
51 #define HOUR_SHIFT 0x10 /* hours units position */ macro213 tm->tm_hour = (time >> HOUR_SHIFT) & HOUR_MASK; in spear_rtc_read_time()239 (tm->tm_hour << HOUR_SHIFT); in spear_rtc_set_time()267 alm->time.tm_hour = (time >> HOUR_SHIFT) & HOUR_MASK; in spear_rtc_read_alarm()297 MINUTE_SHIFT) | (alm->time.tm_hour << HOUR_SHIFT); in spear_rtc_set_alarm()