Searched refs:yr100 (Results 1 – 1 of 1) sorted by relevance
277 unsigned int sec128, sec2, yr, yr100, cf_bit; in sh_rtc_read_time() local303 yr100 = bcd2bin(yr >> 8); in sh_rtc_read_time()307 yr100 = bcd2bin((yr == 0x99) ? 0x19 : 0x20); in sh_rtc_read_time()310 tm->tm_year = (yr100 * 100 + bcd2bin(yr)) - 1900; in sh_rtc_read_time()