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