Lines Matching refs:timeout
68 unsigned int timeout = 100; in rtc_read_lp_counter() local
79 } while (((diff < 0) || (diff > MAX_RTC_READ_DIFF_CYCLES)) && --timeout); in rtc_read_lp_counter()
80 if (!timeout) in rtc_read_lp_counter()
92 unsigned int timeout = 100; in rtc_read_lp_counter_lsb() local
99 } while (((diff < 0) || (diff > MAX_RTC_READ_DIFF_CYCLES)) && --timeout); in rtc_read_lp_counter_lsb()
100 if (!timeout) { in rtc_read_lp_counter_lsb()
113 unsigned int timeout = 1000; in rtc_write_sync_lp() local
126 } while (elapsed < 3 && --timeout); in rtc_write_sync_lp()
127 if (!timeout) { in rtc_write_sync_lp()
136 int timeout = 1000; in snvs_rtc_enable() local
142 while (--timeout) { in snvs_rtc_enable()
154 if (!timeout) in snvs_rtc_enable()