Searched refs:RTC_CENTURY (Results 1 – 6 of 6) sorted by relevance
30 #define RTC_CENTURY 0 macro78 writeb(RTC_WRITE | (century & RTC_CENTURY_MASK), ioaddr + RTC_CENTURY); in ds1742_rtc_set_time()102 century = readb(ioaddr + RTC_CENTURY) & RTC_CENTURY_MASK; in ds1742_rtc_read_time()180 cen = readb(ioaddr + RTC_CENTURY) & RTC_CENTURY_MASK; in ds1742_rtc_probe()
34 #define RTC_CENTURY (RTC_OFFSET + 8) macro93 writeb(RTC_WRITE | (century & RTC_CENTURY_MASK), ioaddr + RTC_CENTURY); in ds1553_rtc_set_time()117 century = readb(ioaddr + RTC_CENTURY) & RTC_CENTURY_MASK; in ds1553_rtc_read_time()285 cen = readb(ioaddr + RTC_CENTURY) & RTC_CENTURY_MASK; in ds1553_rtc_probe()
30 #define RTC_CENTURY (RTC_OFFSET + 1) macro91 writeb(bin2bcd((tm->tm_year + 1900) / 100), ioaddr + RTC_CENTURY); in stk17ta8_rtc_set_time()119 century = readb(ioaddr + RTC_CENTURY); in stk17ta8_rtc_read_time()
82 #define RTC_CENTURY DS1511_CENTURY macro228 rtc_write(cen, RTC_CENTURY); in ds1511_rtc_set_time()257 century = rtc_read(RTC_CENTURY); in ds1511_rtc_read_time()
283 century = rtc->read(rtc, RTC_CENTURY); in ds1685_rtc_read_time()374 rtc->write(rtc, RTC_CENTURY, century); in ds1685_rtc_set_time()
104 #define RTC_CENTURY 0x48 /* Century 00-99 */ macro