Searched refs:RTC_DATE (Results 1 – 10 of 10) sorted by relevance
/linux-6.12.1/drivers/rtc/ |
D | rtc-max8997.c | 60 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()
|
D | rtc-max8925.c | 21 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()
|
D | rtc-max8907.c | 24 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()
|
D | rtc-ds1742.c | 31 #define RTC_DATE 5 macro 68 writeb(bin2bcd(tm->tm_mday), ioaddr + RTC_DATE); in ds1742_rtc_set_time() 94 day = readb(ioaddr + RTC_DATE); in ds1742_rtc_read_time()
|
D | rtc-max8998.c | 60 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()
|
D | rtc-s5m.c | 36 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() 498 if (data[RTC_DATE] & 0x1f) in s5m_rtc_start_alarm() 499 data[RTC_DATE] |= ALARM_ENABLE_MASK; in s5m_rtc_start_alarm()
|
D | rtc-ds1553.c | 36 #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()
|
D | rtc-stk17ta8.c | 39 #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()
|
D | rtc-ds1286.c | 184 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.12.1/include/linux/rtc/ |
D | ds1286.h | 22 #define RTC_DATE 8 macro
|