Searched refs:TOD2_MASK (Results 1 – 1 of 1) sorted by relevance
33 #define TOD2_MASK 0x01FF macro56 tod = (cpcap->tod1 & TOD1_MASK) | ((cpcap->tod2 & TOD2_MASK) << 8); in cpcap2rtc_time()70 cpcap->tod2 = (time >> 8) & TOD2_MASK; in rtc2cpcap_time()140 TOD2_MASK, cpcap_tm.tod2); in cpcap_rtc_set_time()156 TOD2_MASK, cpcap_tm.tod2); in cpcap_rtc_set_time()207 ret |= regmap_update_bits(rtc->regmap, CPCAP_REG_TODA2, TOD2_MASK, in cpcap_rtc_set_alarm()