Searched refs:RTC_CENTURY_MASK (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/rtc/ |
H A D | rtc-ds1742.c | 35 #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 D | rtc-ds1553.c | 40 #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 D | rtc-ds1685.c | 282 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 D | ds1685.h | 126 #define RTC_CENTURY_MASK 0xff /* x x x x x x x x */ macro
|