Searched refs:rtc_reg_read (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/rtc/ |
H A D | rtc-ma35d1.c | 60 static u32 rtc_reg_read(struct ma35_rtc *p, u32 offset) in rtc_reg_read() function 75 rtc_irq = rtc_reg_read(rtc, MA35_REG_RTC_INTSTS); in ma35d1_rtc_interrupt() 92 if (rtc_reg_read(rtc, MA35_REG_RTC_INIT) & RTC_INIT_ACTIVE) in ma35d1_rtc_init() 109 reg_ien = rtc_reg_read(rtc, MA35_REG_RTC_INTEN); in ma35d1_alarm_irq_enable() 125 time = rtc_reg_read(rtc, MA35_REG_RTC_TIME); in ma35d1_rtc_read_time() 126 cal = rtc_reg_read(rtc, MA35_REG_RTC_CAL); in ma35d1_rtc_read_time() 127 wday = rtc_reg_read(rtc, MA35_REG_RTC_WEEKDAY); in ma35d1_rtc_read_time() 128 } while (time != rtc_reg_read(rtc, MA35_REG_RTC_TIME) || in ma35d1_rtc_read_time() 129 cal != rtc_reg_read(rtc, MA35_REG_RTC_CAL)); in ma35d1_rtc_read_time() 168 talm = rtc_reg_read(rtc, MA35_REG_RTC_TALM); in ma35d1_rtc_read_alarm() [all …]
|