Searched refs:rtc_year (Results 1 – 2 of 2) sorted by relevance
118 struct mcp7940n_rtc_year rtc_year; member
92 time.tm_year = RTC_BCD_DECODE(data->registers.rtc_year.year) + in decode_rtc()139 data->registers.rtc_year.year_one = year_since_epoch % 10; in encode_rtc()140 data->registers.rtc_year.year_ten = year_since_epoch / 10; in encode_rtc()