Home
last modified time | relevance | path

Searched refs:RTC_DATE (Results 1 – 11 of 11) sorted by relevance

/linux-4.19.296/drivers/rtc/ !
Drtc-max8997.c60 RTC_DATE, enumerator
88 tm->tm_mday = data[RTC_DATE] & 0x1f; in max8997_rtc_data_to_tm()
101 data[RTC_DATE] = tm->tm_mday; in max8997_rtc_tm_to_data()
277 if (data[RTC_DATE] & 0x1f) in max8997_rtc_start_alarm()
278 data[RTC_DATE] |= (1 << ALARM_ENABLE_SHIFT); in max8997_rtc_start_alarm()
303 data[RTC_YEAR] + 2000, data[RTC_MONTH], data[RTC_DATE], in max8997_rtc_set_alarm()
Drtc-max8907.c28 RTC_DATE, enumerator
66 tm->tm_mday = bcd2bin(regs[RTC_DATE] & 0x3f); in regs_to_tm()
90 regs[RTC_DATE] = bin2bcd(tm->tm_mday); in tm_to_regs()
Drtc-max8925.c24 RTC_DATE, enumerator
96 tm->tm_mday = ((buf[RTC_DATE] >> 4) & 0x03) * 10 in tm_calc()
97 + (buf[RTC_DATE] & 0x0f); in tm_calc()
137 buf[RTC_DATE] = (high << 4) + low; in data_calc()
Drtc-ds1742.c35 #define RTC_DATE 5 macro
72 writeb(bin2bcd(tm->tm_mday), ioaddr + RTC_DATE); in ds1742_rtc_set_time()
98 day = readb(ioaddr + RTC_DATE); in ds1742_rtc_read_time()
Drtc-s5m.c36 RTC_DATE, enumerator
187 tm->tm_mday = data[RTC_DATE] & 0x1f; in s5m8767_data_to_tm()
205 data[RTC_DATE] = tm->tm_mday; in s5m8767_tm_to_data()
352 tm->tm_mday = bcd2bin(data[RTC_DATE]); in s5m8763_data_to_tm()
364 data[RTC_DATE] = bin2bcd(tm->tm_mday); in s5m8763_tm_to_data()
579 if (data[RTC_DATE] & 0x1f) in s5m_rtc_start_alarm()
580 data[RTC_DATE] |= ALARM_ENABLE_MASK; in s5m_rtc_start_alarm()
Drtc-max8998.c60 RTC_DATE, enumerator
87 tm->tm_mday = bcd2bin(data[RTC_DATE]); in max8998_data_to_tm()
99 data[RTC_DATE] = bin2bcd(tm->tm_mday); in max8998_tm_to_data()
Drtc-ds1553.c39 #define RTC_DATE (RTC_OFFSET + 13) macro
87 writeb(bin2bcd(tm->tm_mday), ioaddr + RTC_DATE); in ds1553_rtc_set_time()
113 day = readb(ioaddr + RTC_DATE); in ds1553_rtc_read_time()
Drtc-stk17ta8.c42 #define RTC_DATE (RTC_OFFSET + 13) macro
87 writeb(bin2bcd(tm->tm_mday), ioaddr + RTC_DATE); in stk17ta8_rtc_set_time()
115 day = readb(ioaddr + RTC_DATE); in stk17ta8_rtc_read_time()
Drtc-max77686.c60 RTC_DATE, enumerator
273 tm->tm_mday = data[RTC_DATE] & 0x1f; in max77686_rtc_data_to_tm()
294 data[RTC_DATE] = tm->tm_mday; in max77686_rtc_tm_to_data()
550 if (data[RTC_DATE] & 0x1f) in max77686_rtc_start_alarm()
551 data[RTC_DATE] |= (1 << ALARM_ENABLE_SHIFT); in max77686_rtc_start_alarm()
Drtc-ds1286.c188 tm->tm_mday = ds1286_rtc_read(priv, RTC_DATE); in ds1286_read_time()
255 ds1286_rtc_write(priv, day, RTC_DATE); in ds1286_set_time()
/linux-4.19.296/include/linux/rtc/ !
Dds1286.h22 #define RTC_DATE 8 macro