// SPDX-License-Identifier: GPL-2.0-only /* Copyright(c) 2023 Intel Corporation */ #include <linux/debugfs.h> #include "adf_accel_devices.h" #include "adf_cfg.h" #include "adf_common_drv.h" #include "adf_cnv_dbgfs.h" #include "adf_dbgfs.h" #include "adf_fw_counters.h" #include "adf_heartbeat_dbgfs.h" #include "adf_pm_dbgfs.h" #include "adf_tl_debugfs.h" /** * adf_dbgfs_init() - add persistent debugfs entries * @accel_dev: Pointer to acceleration device. * * This function creates debugfs entries that are persistent through a device * state change (from up to down or vice versa). */ void adf_dbgfs_init(struct adf_accel_dev *accel_dev) { … } EXPORT_SYMBOL_GPL(…); /** * adf_dbgfs_exit() - remove persistent debugfs entries * @accel_dev: Pointer to acceleration device. */ void adf_dbgfs_exit(struct adf_accel_dev *accel_dev) { … } EXPORT_SYMBOL_GPL(…); /** * adf_dbgfs_add() - add non-persistent debugfs entries * @accel_dev: Pointer to acceleration device. * * This function creates debugfs entries that are not persistent through * a device state change (from up to down or vice versa). */ void adf_dbgfs_add(struct adf_accel_dev *accel_dev) { … } /** * adf_dbgfs_rm() - remove non-persistent debugfs entries * @accel_dev: Pointer to acceleration device. */ void adf_dbgfs_rm(struct adf_accel_dev *accel_dev) { … }