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