Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/rtc/
A 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()
A Drtc-max8907.c24 RTC_DATE, enumerator
62 tm->tm_mday = bcd2bin(regs[RTC_DATE] & 0x3f); in regs_to_tm()
86 regs[RTC_DATE] = bin2bcd(tm->tm_mday); in tm_to_regs()
A Drtc-max8925.c21 RTC_DATE, enumerator
93 tm->tm_mday = ((buf[RTC_DATE] >> 4) & 0x03) * 10 in tm_calc()
94 + (buf[RTC_DATE] & 0x0f); in tm_calc()
134 buf[RTC_DATE] = (high << 4) + low; in data_calc()
A Drtc-ds1742.c32 #define RTC_DATE 5 macro
69 writeb(bin2bcd(tm->tm_mday), ioaddr + RTC_DATE); in ds1742_rtc_set_time()
95 day = readb(ioaddr + RTC_DATE); in ds1742_rtc_read_time()
A 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()
346 tm->tm_mday = bcd2bin(data[RTC_DATE]); in s5m8763_data_to_tm()
358 data[RTC_DATE] = bin2bcd(tm->tm_mday); in s5m8763_tm_to_data()
559 if (data[RTC_DATE] & 0x1f) in s5m_rtc_start_alarm()
560 data[RTC_DATE] |= ALARM_ENABLE_MASK; in s5m_rtc_start_alarm()
A 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()
A Drtc-ds1553.c36 #define RTC_DATE (RTC_OFFSET + 13) macro
84 writeb(bin2bcd(tm->tm_mday), ioaddr + RTC_DATE); in ds1553_rtc_set_time()
110 day = readb(ioaddr + RTC_DATE); in ds1553_rtc_read_time()
A Drtc-stk17ta8.c39 #define RTC_DATE (RTC_OFFSET + 13) macro
84 writeb(bin2bcd(tm->tm_mday), ioaddr + RTC_DATE); in stk17ta8_rtc_set_time()
112 day = readb(ioaddr + RTC_DATE); in stk17ta8_rtc_read_time()
A Drtc-ds1286.c184 tm->tm_mday = ds1286_rtc_read(priv, RTC_DATE); in ds1286_read_time()
251 ds1286_rtc_write(priv, day, RTC_DATE); in ds1286_set_time()
/linux-6.3-rc2/include/linux/rtc/
A Dds1286.h22 #define RTC_DATE 8 macro

Completed in 15 milliseconds