Searched refs:RTC_CENTURY_MASK (Results 1 – 2 of 2) sorted by relevance
40 #define RTC_CENTURY_MASK 0x3f macro84 writeb(RTC_WRITE | (century & RTC_CENTURY_MASK), ioaddr + RTC_CENTURY); in ds1742_rtc_set_time()85 writeb(century & RTC_CENTURY_MASK, ioaddr + RTC_CONTROL); in ds1742_rtc_set_time()109 century = readb(ioaddr + RTC_CENTURY) & RTC_CENTURY_MASK; in ds1742_rtc_read_time()201 cen = readb(ioaddr + RTC_CENTURY) & RTC_CENTURY_MASK; in ds1742_rtc_probe()204 writeb(cen & RTC_CENTURY_MASK, ioaddr + RTC_CONTROL); in ds1742_rtc_probe()
45 #define RTC_CENTURY_MASK 0x3f macro96 writeb(RTC_WRITE | (century & RTC_CENTURY_MASK), ioaddr + RTC_CENTURY); in ds1553_rtc_set_time()97 writeb(century & RTC_CENTURY_MASK, ioaddr + RTC_CONTROL); in ds1553_rtc_set_time()121 century = readb(ioaddr + RTC_CENTURY) & RTC_CENTURY_MASK; in ds1553_rtc_read_time()308 cen = readb(ioaddr + RTC_CENTURY) & RTC_CENTURY_MASK; in ds1553_rtc_probe()311 writeb(cen & RTC_CENTURY_MASK, ioaddr + RTC_CONTROL); in ds1553_rtc_probe()