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