Searched refs:rtc_ctrl (Results 1 – 3 of 3) sorted by relevance
94 u16 rtc_ctrl; in wm8350_rtc_settime() local116 rtc_ctrl = wm8350_reg_read(wm8350, WM8350_RTC_TIME_CONTROL); in wm8350_rtc_settime()118 } while (--retries && !(rtc_ctrl & WM8350_RTC_STS)); in wm8350_rtc_settime()188 u16 rtc_ctrl; in wm8350_rtc_stop_alarm() local199 rtc_ctrl = wm8350_reg_read(wm8350, WM8350_RTC_TIME_CONTROL); in wm8350_rtc_stop_alarm()201 } while (retries-- && !(rtc_ctrl & WM8350_RTC_ALMSTS)); in wm8350_rtc_stop_alarm()203 if (!(rtc_ctrl & WM8350_RTC_ALMSTS)) in wm8350_rtc_stop_alarm()213 u16 rtc_ctrl; in wm8350_rtc_start_alarm() local222 rtc_ctrl = wm8350_reg_read(wm8350, WM8350_RTC_TIME_CONTROL); in wm8350_rtc_start_alarm()224 } while (retries-- && rtc_ctrl & WM8350_RTC_ALMSTS); in wm8350_rtc_start_alarm()[all …]
143 u8 rtc_ctrl, value; in ab8500_rtc_read_alarm() local149 AB8500_RTC_STAT_REG, &rtc_ctrl); in ab8500_rtc_read_alarm()153 if (rtc_ctrl & RTC_ALARM_ENA) in ab8500_rtc_read_alarm()337 u8 rtc_ctrl; in ab8500_rtc_probe() local354 AB8500_RTC_STAT_REG, &rtc_ctrl); in ab8500_rtc_probe()359 if (!(rtc_ctrl & RTC_STATUS_DATA)) { in ab8500_rtc_probe()
170 u32 rtc_ctrl; in xlnx_init_rtc() local173 rtc_ctrl = readl(xrtcdev->reg_base + RTC_CTRL); in xlnx_init_rtc()174 rtc_ctrl |= RTC_BATT_EN; in xlnx_init_rtc()175 writel(rtc_ctrl, xrtcdev->reg_base + RTC_CTRL); in xlnx_init_rtc()