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)
commit8f87b6271ec85c09af6406665324c74bb79e3216
tree0173c12cc4d0462321cf483ab7c6308a78d6db13
parent10fb050caef99d75895bf0978188090d3ed676c2
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