Searched refs:DAY_MASK (Results 1 – 2 of 2) sorted by relevance
31 #define DAY_MASK 0x7FFF macro57 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()
59 #define DAY_MASK 0x3F macro212 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