Home
last modified time | relevance | path

Searched refs:MONTH_SHIFT (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/rtc/
H A Drtc-spear.c53 #define MONTH_SHIFT 0x08 /* Month shift */ macro
215 tm->tm_mon = (date >> MONTH_SHIFT) & MONTH_MASK; in spear_rtc_read_time()
240 date = (tm->tm_mday << MDAY_SHIFT) | (tm->tm_mon << MONTH_SHIFT) | in spear_rtc_set_time()
269 alm->time.tm_mon = (date >> MONTH_SHIFT) & MONTH_MASK; in spear_rtc_read_alarm()
299 MONTH_SHIFT) | (alm->time.tm_year << YEAR_SHIFT); in spear_rtc_set_alarm()