Searched refs:tod2 (Results 1 – 1 of 1) sorted by relevance
38 int tod2; member56 tod = (cpcap->tod1 & TOD1_MASK) | ((cpcap->tod2 & TOD2_MASK) << 8); in cpcap2rtc_time()70 cpcap->tod2 = (time >> 8) & TOD2_MASK; in rtc2cpcap_time()103 ret |= regmap_read(rtc->regmap, CPCAP_REG_TOD2, &cpcap_tm.tod2); in cpcap_rtc_read_time()105 if (temp_tod2 > cpcap_tm.tod2) in cpcap_rtc_read_time()140 TOD2_MASK, cpcap_tm.tod2); in cpcap_rtc_set_time()156 TOD2_MASK, cpcap_tm.tod2); in cpcap_rtc_set_time()180 ret |= regmap_read(rtc->regmap, CPCAP_REG_TODA2, &cpcap_tm.tod2); in cpcap_rtc_read_alarm()208 cpcap_tm.tod2); in cpcap_rtc_set_alarm()