Home
last modified time | relevance | path

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

/linux/drivers/rtc/
H A Drtc-max8925.c24 RTC_YEAR2, enumerator
86 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()
H A Drtc-max8907.c27 RTC_YEAR2, enumerator
59 tm->tm_year = bcd2bin(regs[RTC_YEAR2]) * 100 + in regs_to_tm()
83 regs[RTC_YEAR2] = bin2bcd(high); in tm_to_regs()
H A Drtc-max8998.c63 RTC_YEAR2, enumerator
89 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()
H A Drtc-s5m.c39 RTC_YEAR2, enumerator