xref: /linux/drivers/crypto/intel/qat/qat_common/adf_clock.h (revision 4b911a9690d72641879ea6d13cce1de31d346d79)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* Copyright(c) 2023 Intel Corporation */
3 #ifndef ADF_CLOCK_H
4 #define ADF_CLOCK_H
5 
6 #include <linux/types.h>
7 
8 struct adf_accel_dev;
9 
10 int adf_dev_measure_clock(struct adf_accel_dev *accel_dev, u32 *frequency,
11 			  u32 min, u32 max);
12 u64 adf_clock_get_current_time(void);
13 
14 #endif
15