Home
last modified time | relevance | path

Searched refs:base_cnt (Results 1 – 1 of 1) sorted by relevance

/drivers/crypto/qat/qat_common/
Dqat_hal.c167 unsigned int base_cnt = 0, cur_cnt = 0; in qat_hal_wait_cycles() local
172 qat_hal_rd_ae_csr(handle, ae, PROFILE_COUNT, &base_cnt); in qat_hal_wait_cycles()
173 base_cnt &= 0xffff; in qat_hal_wait_cycles()
180 elapsed_cycles = cur_cnt - base_cnt; in qat_hal_wait_cycles()
390 unsigned int base_cnt, cur_cnt; in qat_hal_check_ae_alive() local
396 (unsigned int *)&base_cnt); in qat_hal_check_ae_alive()
397 base_cnt &= 0xffff; in qat_hal_check_ae_alive()
403 } while (times-- && (cur_cnt == base_cnt)); in qat_hal_check_ae_alive()