Revert "unicode: Don't special case ignorable code points"
[linux.git] / drivers / crypto / caam / debugfs.h
blob8b5d1acd21a7f6e31769e2ce08e29c191c343149
1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
2 /* Copyright 2019, 2023 NXP */
4 #ifndef CAAM_DEBUGFS_H
5 #define CAAM_DEBUGFS_H
7 struct dentry;
8 struct caam_drv_private;
9 struct caam_perfmon;
11 #ifdef CONFIG_DEBUG_FS
12 void caam_debugfs_init(struct caam_drv_private *ctrlpriv,
13 struct caam_perfmon __force *perfmon, struct dentry *root);
14 #else
15 static inline void caam_debugfs_init(struct caam_drv_private *ctrlpriv,
16 struct caam_perfmon __force *perfmon,
17 struct dentry *root)
19 #endif
21 #if defined(CONFIG_DEBUG_FS) && defined(CONFIG_CAAM_QI)
22 void caam_debugfs_qi_congested(void);
23 void caam_debugfs_qi_init(struct caam_drv_private *ctrlpriv);
24 #else
25 static inline void caam_debugfs_qi_congested(void) {}
26 static inline void caam_debugfs_qi_init(struct caam_drv_private *ctrlpriv) {}
27 #endif
29 #endif /* CAAM_DEBUGFS_H */