Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/drivers/crypto/intel/qat/qat_common/adf_clock.h
29278 views
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
16