Searched refs:RTC_CENTURY (Results 1 – 5 of 5) sorted by relevance
26 #define RTC_CENTURY 0 macro74 writeb(RTC_WRITE | (century & RTC_CENTURY_MASK), ioaddr + RTC_CENTURY); in ds1742_rtc_set_time()98 century = readb(ioaddr + RTC_CENTURY) & RTC_CENTURY_MASK; in ds1742_rtc_read_time()175 cen = readb(ioaddr + RTC_CENTURY) & RTC_CENTURY_MASK; in ds1742_rtc_probe()
31 #define RTC_CENTURY (RTC_OFFSET + 8) macro90 writeb(RTC_WRITE | (century & RTC_CENTURY_MASK), ioaddr + RTC_CENTURY); in ds1553_rtc_set_time()114 century = readb(ioaddr + RTC_CENTURY) & RTC_CENTURY_MASK; in ds1553_rtc_read_time()280 cen = readb(ioaddr + RTC_CENTURY) & RTC_CENTURY_MASK; in ds1553_rtc_probe()
27 #define RTC_CENTURY (RTC_OFFSET + 1) macro88 writeb(bin2bcd((tm->tm_year + 1900) / 100), ioaddr + RTC_CENTURY); in stk17ta8_rtc_set_time()116 century = readb(ioaddr + RTC_CENTURY); in stk17ta8_rtc_read_time()
276 century = rtc->read(rtc, RTC_CENTURY); in ds1685_rtc_read_time()366 rtc->write(rtc, RTC_CENTURY, century); in ds1685_rtc_set_time()
96 #define RTC_CENTURY 0x48 /* Century 00-99 */ macro