Home
last modified time | relevance | path

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

/drivers/crypto/qat/qat_common/
Dqat_hal.c317 unsigned int ae_reset_csr; in qat_hal_reset() local
319 ae_reset_csr = GET_GLB_CSR(handle, ICP_RESET); in qat_hal_reset()
320 ae_reset_csr |= handle->hal_handle->ae_mask << RST_CSR_AE_LSB; in qat_hal_reset()
321 ae_reset_csr |= handle->hal_handle->slice_mask << RST_CSR_QAT_LSB; in qat_hal_reset()
322 SET_GLB_CSR(handle, ICP_RESET, ae_reset_csr); in qat_hal_reset()
484 unsigned int ae_reset_csr; in qat_hal_clr_reset() local
491 ae_reset_csr = GET_GLB_CSR(handle, ICP_RESET); in qat_hal_clr_reset()
492 ae_reset_csr &= ~(handle->hal_handle->ae_mask << RST_CSR_AE_LSB); in qat_hal_clr_reset()
493 ae_reset_csr &= ~(handle->hal_handle->slice_mask << RST_CSR_QAT_LSB); in qat_hal_clr_reset()
495 SET_GLB_CSR(handle, ICP_RESET, ae_reset_csr); in qat_hal_clr_reset()