Linux Audio

Check our new training course

Loading...
Note: File does not exist in v3.1.
 1/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
 2/* Copyright 2019, 2023 NXP */
 3
 4#ifndef CAAM_DEBUGFS_H
 5#define CAAM_DEBUGFS_H
 6
 7struct dentry;
 8struct caam_drv_private;
 9struct caam_perfmon;
10
11#ifdef CONFIG_DEBUG_FS
12void caam_debugfs_init(struct caam_drv_private *ctrlpriv,
13		       struct caam_perfmon __force *perfmon, struct dentry *root);
14#else
15static inline void caam_debugfs_init(struct caam_drv_private *ctrlpriv,
16				     struct caam_perfmon __force *perfmon,
17				     struct dentry *root)
18{}
19#endif
20
21#if defined(CONFIG_DEBUG_FS) && defined(CONFIG_CAAM_QI)
22void caam_debugfs_qi_congested(void);
23void caam_debugfs_qi_init(struct caam_drv_private *ctrlpriv);
24#else
25static inline void caam_debugfs_qi_congested(void) {}
26static inline void caam_debugfs_qi_init(struct caam_drv_private *ctrlpriv) {}
27#endif
28
29#endif /* CAAM_DEBUGFS_H */