Lines Matching refs:times
126 int times = MAX_RETRY_TIMES; in qat_hal_wait_cycles() local
131 while ((int)cycles > elapsed_cycles && times--) { in qat_hal_wait_cycles()
146 if (times < 0) { in qat_hal_wait_cycles()
383 int times = MAX_RETRY_TIMES; in qat_hal_check_ae_alive() local
392 } while (times-- && (cur_cnt == base_cnt)); in qat_hal_check_ae_alive()
394 if (times < 0) { in qat_hal_check_ae_alive()
448 int times = 30; in qat_hal_init_esram() local
464 } while (!(csr_val & ESRAM_AUTO_TINIT_DONE) && times--); in qat_hal_init_esram()
465 if (times < 0) { in qat_hal_init_esram()
480 unsigned int times = 100; in qat_hal_clr_reset() local
488 if (!(times--)) in qat_hal_clr_reset()
626 int times = MAX_RETRY_TIMES; in qat_hal_clear_gpr() local
658 } while (ret && times--); in qat_hal_clear_gpr()
660 if (times < 0) { in qat_hal_clear_gpr()