Home
last modified time | relevance | path

Searched refs:RTC_DAY_MASK (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/rtc/
H A Drtc-ds1742.c38 #define RTC_DAY_MASK 0x07 macro
68 writeb(bin2bcd(tm->tm_wday) & RTC_DAY_MASK, ioaddr + RTC_DAY); in ds1742_rtc_set_time()
96 week = readb(ioaddr + RTC_DAY) & RTC_DAY_MASK; in ds1742_rtc_read_time()
H A Drtc-ds1553.c42 #define RTC_DAY_MASK 0x07 macro
83 writeb(bin2bcd(tm->tm_wday) & RTC_DAY_MASK, ioaddr + RTC_DAY); in ds1553_rtc_set_time()
111 week = readb(ioaddr + RTC_DAY) & RTC_DAY_MASK; in ds1553_rtc_read_time()
H A Drtc-stk17ta8.c44 #define RTC_DAY_MASK 0x07 macro
83 writeb(bin2bcd(tm->tm_wday) & RTC_DAY_MASK, ioaddr + RTC_DAY); in stk17ta8_rtc_set_time()
113 week = readb(ioaddr + RTC_DAY) & RTC_DAY_MASK; in stk17ta8_rtc_read_time()
/kernel/linux/linux-6.6/drivers/rtc/
H A Drtc-ds1742.c37 #define RTC_DAY_MASK 0x07 macro
67 writeb(bin2bcd(tm->tm_wday) & RTC_DAY_MASK, ioaddr + RTC_DAY); in ds1742_rtc_set_time()
95 week = readb(ioaddr + RTC_DAY) & RTC_DAY_MASK; in ds1742_rtc_read_time()
H A Drtc-ds1553.c42 #define RTC_DAY_MASK 0x07 macro
83 writeb(bin2bcd(tm->tm_wday) & RTC_DAY_MASK, ioaddr + RTC_DAY); in ds1553_rtc_set_time()
111 week = readb(ioaddr + RTC_DAY) & RTC_DAY_MASK; in ds1553_rtc_read_time()
H A Drtc-stk17ta8.c44 #define RTC_DAY_MASK 0x07 macro
83 writeb(bin2bcd(tm->tm_wday) & RTC_DAY_MASK, ioaddr + RTC_DAY); in stk17ta8_rtc_set_time()
113 week = readb(ioaddr + RTC_DAY) & RTC_DAY_MASK; in stk17ta8_rtc_read_time()

Completed in 5 milliseconds