Searched refs:RTC_CENTURY_MASK (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/drivers/rtc/ |
D | rtc-ds1742.c | 36 #define RTC_CENTURY_MASK 0x3f macro 75 writeb(RTC_WRITE | (century & RTC_CENTURY_MASK), ioaddr + RTC_CENTURY); in ds1742_rtc_set_time() 76 writeb(century & RTC_CENTURY_MASK, ioaddr + RTC_CONTROL); in ds1742_rtc_set_time() 99 century = readb(ioaddr + RTC_CENTURY) & RTC_CENTURY_MASK; in ds1742_rtc_read_time() 177 cen = readb(ioaddr + RTC_CENTURY) & RTC_CENTURY_MASK; in ds1742_rtc_probe() 180 writeb(cen & RTC_CENTURY_MASK, ioaddr + RTC_CONTROL); in ds1742_rtc_probe()
|
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()
|
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-5.19.10/include/linux/rtc/ |
D | ds1685.h | 126 #define RTC_CENTURY_MASK 0xff /* x x x x x x x x */ macro
|