Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/rtc/
Drtc-ds1742.c36 #define RTC_DAY 4 macro
76 writeb(bin2bcd(tm->tm_wday) & RTC_DAY_MASK, ioaddr + RTC_DAY); in ds1742_rtc_set_time()
105 week = readb(ioaddr + RTC_DAY) & RTC_DAY_MASK; in ds1742_rtc_read_time()
196 if (!(readb(ioaddr + RTC_DAY) & RTC_BATT_FLAG)) in ds1742_rtc_probe()
Drtc-da9063.c39 RTC_DAY = 3, enumerator
182 tm->tm_mday = data[RTC_DAY] & config->rtc_count_day_mask; in da9063_data_to_tm()
203 data[RTC_DAY] &= ~config->rtc_count_day_mask; in da9063_tm_to_data()
204 data[RTC_DAY] |= tm->tm_mday & config->rtc_count_day_mask; in da9063_tm_to_data()
Drtc-ds1553.c40 #define RTC_DAY (RTC_OFFSET + 12) macro
89 writeb(bin2bcd(tm->tm_wday) & RTC_DAY_MASK, ioaddr + RTC_DAY); in ds1553_rtc_set_time()
118 week = readb(ioaddr + RTC_DAY) & RTC_DAY_MASK; in ds1553_rtc_read_time()
Drtc-stk17ta8.c43 #define RTC_DAY (RTC_OFFSET + 12) macro
89 writeb(bin2bcd(tm->tm_wday) & RTC_DAY_MASK, ioaddr + RTC_DAY); in stk17ta8_rtc_set_time()
120 week = readb(ioaddr + RTC_DAY) & RTC_DAY_MASK; in stk17ta8_rtc_read_time()
/linux-4.4.14/include/linux/
Dds1286.h20 #define RTC_DAY 6 macro