crypto: qat - rename and relocate timer logic
authorGeorge Abraham P <george.abraham.p@intel.com>
Wed, 30 Apr 2025 11:34:43 +0000 (12:34 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 5 May 2025 10:20:44 +0000 (18:20 +0800)
commitb8ca43806292d7094103c2af44fbb9824874b19e
tree40805bfa91a4b47758f01bfcdec44b1e2e633e12
parentce026b35b7b62094b640d3781d09bbd5b132b326
crypto: qat - rename and relocate timer logic

Rename adf_gen4_timer.c to adf_timer.c and adf_gen4_timer.h to
adf_timer.h to make the files generation-agnostic. This includes
renaming the start() and stop() timer APIs and macro definitions
to be generic, allowing for reuse across different device
generations.
This does not introduce any functional changes.

Signed-off-by: George Abraham P <george.abraham.p@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/intel/qat/qat_420xx/adf_420xx_hw_data.c
drivers/crypto/intel/qat/qat_4xxx/adf_4xxx_hw_data.c
drivers/crypto/intel/qat/qat_common/Makefile
drivers/crypto/intel/qat/qat_common/adf_gen4_timer.c [deleted file]
drivers/crypto/intel/qat/qat_common/adf_gen4_timer.h [deleted file]
drivers/crypto/intel/qat/qat_common/adf_timer.c [new file with mode: 0644]
drivers/crypto/intel/qat/qat_common/adf_timer.h [new file with mode: 0644]