Lines Matching full:retries
35 int retries = WM8350_GET_TIME_RETRIES, ret; in wm8350_rtc_readtime() local
76 retries, in wm8350_rtc_readtime()
81 } while (retries--); in wm8350_rtc_readtime()
95 int ret, retries = WM8350_SET_TIME_RETRIES; in wm8350_rtc_settime() local
118 } while (--retries && !(rtc_ctrl & WM8350_RTC_STS)); in wm8350_rtc_settime()
120 if (!retries) { in wm8350_rtc_settime()
187 int retries = WM8350_SET_ALM_RETRIES; in wm8350_rtc_stop_alarm() local
201 } while (retries-- && !(rtc_ctrl & WM8350_RTC_ALMSTS)); in wm8350_rtc_stop_alarm()
212 int retries = WM8350_SET_ALM_RETRIES; in wm8350_rtc_start_alarm() local
224 } while (retries-- && rtc_ctrl & WM8350_RTC_ALMSTS); in wm8350_rtc_start_alarm()
402 int retries; in wm8350_rtc_probe() local
411 retries = WM8350_SET_TIME_RETRIES; in wm8350_rtc_probe()
415 } while (timectl & WM8350_RTC_STS && --retries); in wm8350_rtc_probe()
417 if (retries == 0) { in wm8350_rtc_probe()