Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/rtc/
Drtc-max8907.c28 RTC_YEAR2, enumerator
60 tm->tm_year = bcd2bin(regs[RTC_YEAR2]) * 100 + in regs_to_tm()
84 regs[RTC_YEAR2] = bin2bcd(high); in tm_to_regs()
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()
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()
Drtc-s5m.c39 RTC_YEAR2, enumerator
348 tm->tm_year = bcd2bin(data[RTC_YEAR1]) + bcd2bin(data[RTC_YEAR2]) * 100; in s5m8763_data_to_tm()
361 data[RTC_YEAR2] = bin2bcd((tm->tm_year + 1900) / 100); in s5m8763_tm_to_data()