Home
last modified time | relevance | path

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

/drivers/rtc/
Drtc-max8925.c27 RTC_YEAR2, enumerator
89 tm->tm_year = (buf[RTC_YEAR2] >> 4) * 1000 in tm_calc()
90 + (buf[RTC_YEAR2] & 0xf) * 100 in tm_calc()
124 buf[RTC_YEAR2] = (high << 4) + low; in data_calc()
Drtc-max8907.c31 RTC_YEAR2, enumerator
63 tm->tm_year = bcd2bin(regs[RTC_YEAR2]) * 100 + in regs_to_tm()
87 regs[RTC_YEAR2] = bin2bcd(high); in tm_to_regs()
Drtc-max8998.c69 RTC_YEAR2, enumerator
95 tm->tm_year = bcd2bin(data[RTC_YEAR1]) + bcd2bin(data[RTC_YEAR2]) * 100; in max8998_data_to_tm()
108 data[RTC_YEAR2] = bin2bcd((tm->tm_year + 1900) / 100); in max8998_tm_to_data()
Drtc-s5m.c351 tm->tm_year = bcd2bin(data[RTC_YEAR1]) + bcd2bin(data[RTC_YEAR2]) * 100; in s5m8763_data_to_tm()
364 data[RTC_YEAR2] = bin2bcd((tm->tm_year + 1900) / 100); in s5m8763_tm_to_data()