Searched refs:RTC_YEAR2 (Results 1 – 4 of 4) sorted by relevance
24 RTC_YEAR2, enumerator86 tm->tm_year = (buf[RTC_YEAR2] >> 4) * 1000 in tm_calc()87 + (buf[RTC_YEAR2] & 0xf) * 100 in tm_calc()121 buf[RTC_YEAR2] = (high << 4) + low; in data_calc()
27 RTC_YEAR2, enumerator59 tm->tm_year = bcd2bin(regs[RTC_YEAR2]) * 100 + in regs_to_tm()83 regs[RTC_YEAR2] = bin2bcd(high); in tm_to_regs()
63 RTC_YEAR2, enumerator89 tm->tm_year = bcd2bin(data[RTC_YEAR1]) + bcd2bin(data[RTC_YEAR2]) * 100; in max8998_data_to_tm()102 data[RTC_YEAR2] = bin2bcd((tm->tm_year + 1900) / 100); in max8998_tm_to_data()
39 RTC_YEAR2, enumerator