xref: /freebsd/sys/dev/qat/qat_common/adf_cfg_section.h (revision 2b8331622f0b212cf3bb4fc4914a501e5321d506)
1 /* SPDX-License-Identifier: BSD-3-Clause */
2 /* Copyright(c) 2007-2022 Intel Corporation */
3 /* $FreeBSD$ */
4 #ifndef ADF_CFG_SECTION_H_
5 #define ADF_CFG_SECTION_H_
6 
7 #include <linux/rwsem.h>
8 #include "adf_accel_devices.h"
9 #include "adf_cfg_common.h"
10 #include "adf_cfg_strings.h"
11 
12 int adf_cfg_process_section(struct adf_accel_dev *accel_dev,
13 			    const char *section_name,
14 			    int dev);
15 
16 int adf_cfg_cleanup_section(struct adf_accel_dev *accel_dev,
17 			    const char *section_name,
18 			    int dev);
19 #endif
20