xref: /freebsd/sys/dev/qat/include/adf_gen4_timer.h (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1 /* SPDX-License-Identifier: BSD-3-Clause */
2 /* Copyright(c) 2007-2022 Intel Corporation */
3 /* $FreeBSD$ */
4 #ifndef ADF_GEN4_TIMER_H_
5 #define ADF_GEN4_TIMER_H_
6 
7 struct adf_accel_dev;
8 
9 struct adf_hb_timer_data {
10 	struct adf_accel_dev *accel_dev;
11 	struct work_struct hb_int_timer_work;
12 };
13 
14 int adf_int_timer_init(struct adf_accel_dev *accel_dev);
15 void adf_int_timer_exit(struct adf_accel_dev *accel_dev);
16 
17 #endif /* ADF_GEN4_TIMER_H_ */
18