xref: /freebsd/sys/dev/qat/include/common/adf_uio.h (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1 /* SPDX-License-Identifier: BSD-3-Clause */
2 /* Copyright(c) 2007-2023 Intel Corporation */
3 /* $FreeBSD$ */
4 #ifndef ADF_UIO_H
5 #define ADF_UIO_H
6 #include "adf_accel_devices.h"
7 
8 struct qat_uio_bundle_dev {
9 	u8 hardware_bundle_number;
10 	struct adf_uio_control_bundle *bundle;
11 	struct adf_uio_control_accel *accel;
12 };
13 
14 int adf_uio_register(struct adf_accel_dev *accel_dev);
15 void adf_uio_remove(struct adf_accel_dev *accel_dev);
16 
17 #endif /* end of include guard: ADF_UIO_H */
18