Lines Matching refs:rtc_ctrl
94 u16 rtc_ctrl; in wm8350_rtc_settime() local
116 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() local
199 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() local
222 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()
226 if (rtc_ctrl & WM8350_RTC_ALMSTS) in wm8350_rtc_start_alarm()