Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/
Dqat_hal.c274 unsigned int ae_reset_csr; in qat_hal_reset() local
276 ae_reset_csr = GET_GLB_CSR(handle, ICP_RESET); in qat_hal_reset()
277 ae_reset_csr |= handle->hal_handle->ae_mask << RST_CSR_AE_LSB; in qat_hal_reset()
278 ae_reset_csr |= handle->hal_handle->slice_mask << RST_CSR_QAT_LSB; in qat_hal_reset()
279 SET_GLB_CSR(handle, ICP_RESET, ae_reset_csr); in qat_hal_reset()
441 unsigned int ae_reset_csr; in qat_hal_clr_reset() local
448 ae_reset_csr = GET_GLB_CSR(handle, ICP_RESET); in qat_hal_clr_reset()
449 ae_reset_csr &= ~(handle->hal_handle->ae_mask << RST_CSR_AE_LSB); in qat_hal_clr_reset()
450 ae_reset_csr &= ~(handle->hal_handle->slice_mask << RST_CSR_QAT_LSB); in qat_hal_clr_reset()
452 SET_GLB_CSR(handle, ICP_RESET, ae_reset_csr); in qat_hal_clr_reset()