Home
last modified time | relevance | path

Searched refs:RTC_CENTURY_MASK (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/rtc/
H A Drtc-ds1742.c35 #define RTC_CENTURY_MASK 0x3f macro
74 writeb(RTC_WRITE | (century & RTC_CENTURY_MASK), ioaddr + RTC_CENTURY); in ds1742_rtc_set_time()
75 writeb(century & RTC_CENTURY_MASK, ioaddr + RTC_CONTROL); 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()
178 writeb(cen & RTC_CENTURY_MASK, ioaddr + RTC_CONTROL); in ds1742_rtc_probe()
H A Drtc-ds1553.c40 #define RTC_CENTURY_MASK 0x3f macro
90 writeb(RTC_WRITE | (century & RTC_CENTURY_MASK), ioaddr + RTC_CENTURY); in ds1553_rtc_set_time()
91 writeb(century & RTC_CENTURY_MASK, ioaddr + RTC_CONTROL); 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()
283 writeb(cen & RTC_CENTURY_MASK, ioaddr + RTC_CONTROL); in ds1553_rtc_probe()
H A Drtc-ds1685.c282 century = ds1685_rtc_bcd2bin(rtc, century, RTC_CENTURY_MASK, in ds1685_rtc_read_time()
283 RTC_CENTURY_MASK); in ds1685_rtc_read_time()
330 RTC_CENTURY_MASK, RTC_CENTURY_MASK); in ds1685_rtc_set_time()
/linux/include/linux/rtc/
H A Dds1685.h126 #define RTC_CENTURY_MASK 0xff /* x x x x x x x x */ macro