Searched refs:M48T86_YEAR (Results 1 – 1 of 1) sorted by relevance
29 #define M48T86_YEAR 0x09 /* 0 - 99 */ macro81 tm->tm_year = m48t86_readb(dev, M48T86_YEAR) + 100; in m48t86_rtc_read_time()92 tm->tm_year = bcd2bin(m48t86_readb(dev, M48T86_YEAR)) + 100; in m48t86_rtc_read_time()121 m48t86_writeb(dev, tm->tm_year % 100, M48T86_YEAR); in m48t86_rtc_set_time()130 m48t86_writeb(dev, bin2bcd(tm->tm_year % 100), M48T86_YEAR); in m48t86_rtc_set_time()