Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/rtc/
Drtc-ma35d1.c65 static inline void rtc_reg_write(struct ma35_rtc *p, u32 offset, u32 value) in rtc_reg_write() function
78 rtc_reg_write(rtc, MA35_REG_RTC_INTSTS, RTC_INTSTS_ALMIF); in ma35d1_rtc_interrupt()
95 rtc_reg_write(rtc, MA35_REG_RTC_INIT, RTC_INIT_MAGIC_CODE); in ma35d1_rtc_init()
112 rtc_reg_write(rtc, MA35_REG_RTC_INTEN, reg_ien | RTC_INTEN_ALMIEN); in ma35d1_alarm_irq_enable()
114 rtc_reg_write(rtc, MA35_REG_RTC_INTEN, reg_ien & ~RTC_INTEN_ALMIEN); in ma35d1_alarm_irq_enable()
151 rtc_reg_write(rtc, MA35_REG_RTC_CAL, val); in ma35d1_rtc_set_time()
155 rtc_reg_write(rtc, MA35_REG_RTC_TIME, val); in ma35d1_rtc_set_time()
158 rtc_reg_write(rtc, MA35_REG_RTC_WEEKDAY, val); in ma35d1_rtc_set_time()
191 rtc_reg_write(rtc, MA35_REG_RTC_CALM, val); in ma35d1_rtc_set_alarm()
195 rtc_reg_write(rtc, MA35_REG_RTC_TALM, val); in ma35d1_rtc_set_alarm()