Searched refs:elapsed_cycles (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/crypto/qat/qat_common/
H A Dqat_hal.c169 int elapsed_cycles = 0; qat_hal_wait_cycles() local
173 while ((int)cycles > elapsed_cycles && times--) { qat_hal_wait_cycles()
179 elapsed_cycles = cur_cnt - base_cnt; qat_hal_wait_cycles()
181 if (elapsed_cycles < 0) qat_hal_wait_cycles()
182 elapsed_cycles += 0x10000; qat_hal_wait_cycles()
185 if (elapsed_cycles >= 8 && !(csr & (1 << ACS_ABO_BITPOS))) qat_hal_wait_cycles()

Completed in 75 milliseconds