Home
last modified time | relevance | path

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

/drivers/rtc/
Drtc-cpcap.c32 #define TOD1_MASK 0x00FF macro
56 tod = (cpcap->tod1 & TOD1_MASK) | ((cpcap->tod2 & TOD2_MASK) << 8); in cpcap2rtc_time()
71 cpcap->tod1 = time & TOD1_MASK; in rtc2cpcap_time()
138 TOD1_MASK, cpcap_tm.tod1); in cpcap_rtc_set_time()
152 TOD1_MASK, 0); in cpcap_rtc_set_time()
158 TOD1_MASK, cpcap_tm.tod1); in cpcap_rtc_set_time()
209 ret |= regmap_update_bits(rtc->regmap, CPCAP_REG_TODA1, TOD1_MASK, in cpcap_rtc_set_alarm()