]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: qat - remove global CSRs helpers
authorJack Xu <jack.xu@intel.com>
Fri, 6 Nov 2020 11:27:50 +0000 (19:27 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 13 Nov 2020 09:38:50 +0000 (20:38 +1100)
commit65516060d9e250e0fb6173848d64f187ce33d02c
tree0173c12cc4d0462321cf483ab7c6308a78d6db13
parent03b2fd10887f0dfa79fd5c42e90d91f325cb205b
crypto: qat - remove global CSRs helpers

Include the offset of GLOBAL_CSR directly into the enum hal_global_csr
and remove the macros SET_GLB_CSR/GET_GLB_CSR to simplify the global CSR
access.

Signed-off-by: Jack Xu <jack.xu@intel.com>
Co-developed-by: Wojciech Ziemba <wojciech.ziemba@intel.com>
Signed-off-by: Wojciech Ziemba <wojciech.ziemba@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_common/icp_qat_hal.h
drivers/crypto/qat/qat_common/qat_hal.c