Home
last modified time | relevance | path

Searched refs:RTC_DAY_MASK (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/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()