Home
last modified time | relevance | path

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

/drivers/crypto/intel/qat/qat_common/
Dqat_hal.c124 unsigned int base_cnt = 0, cur_cnt = 0; in qat_hal_wait_cycles() local
129 base_cnt = qat_hal_rd_ae_csr(handle, ae, PROFILE_COUNT); in qat_hal_wait_cycles()
130 base_cnt &= 0xffff; in qat_hal_wait_cycles()
137 elapsed_cycles = cur_cnt - base_cnt; in qat_hal_wait_cycles()
381 unsigned int base_cnt, cur_cnt; in qat_hal_check_ae_alive() local
386 base_cnt = qat_hal_rd_ae_csr(handle, ae, PROFILE_COUNT); in qat_hal_check_ae_alive()
387 base_cnt &= 0xffff; in qat_hal_check_ae_alive()
392 } while (times-- && (cur_cnt == base_cnt)); in qat_hal_check_ae_alive()