Home
last modified time | relevance | path

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

/linux/drivers/rtc/
A Drtc-cpcap.c31 #define DAY_MASK 0x7FFF macro
57 time = tod + ((cpcap->day & DAY_MASK) * SECS_PER_DAY); in cpcap2rtc_time()
142 DAY_MASK, cpcap_tm.day); in cpcap_rtc_set_time()
154 DAY_MASK, cpcap_tm.day); in cpcap_rtc_set_time()
205 ret = regmap_update_bits(rtc->regmap, CPCAP_REG_DAYA, DAY_MASK, in cpcap_rtc_set_alarm()
264 rtc->rtc_dev->range_max = (timeu64_t) (DAY_MASK + 1) * SECS_PER_DAY - 1; in cpcap_rtc_probe()
A Drtc-spear.c59 #define DAY_MASK 0x3F macro
212 tm->tm_mday = (date >> MDAY_SHIFT) & DAY_MASK; in spear_rtc_read_time()
266 alm->time.tm_mday = (date >> MDAY_SHIFT) & DAY_MASK; in spear_rtc_read_alarm()

Completed in 5 milliseconds