Home
last modified time | relevance | path

Searched refs:RTC_CENTURY (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/rtc/
Drtc-ds1742.c26 #define RTC_CENTURY 0 macro
74 writeb(RTC_WRITE | (century & RTC_CENTURY_MASK), ioaddr + RTC_CENTURY); 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()
Drtc-ds1553.c31 #define RTC_CENTURY (RTC_OFFSET + 8) macro
90 writeb(RTC_WRITE | (century & RTC_CENTURY_MASK), ioaddr + RTC_CENTURY); 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()
Drtc-stk17ta8.c27 #define RTC_CENTURY (RTC_OFFSET + 1) macro
88 writeb(bin2bcd((tm->tm_year + 1900) / 100), ioaddr + RTC_CENTURY); in stk17ta8_rtc_set_time()
116 century = readb(ioaddr + RTC_CENTURY); in stk17ta8_rtc_read_time()
Drtc-ds1685.c276 century = rtc->read(rtc, RTC_CENTURY); in ds1685_rtc_read_time()
366 rtc->write(rtc, RTC_CENTURY, century); in ds1685_rtc_set_time()
/linux-6.12.1/include/linux/rtc/
Dds1685.h96 #define RTC_CENTURY 0x48 /* Century 00-99 */ macro