xref: /linux/drivers/crypto/caam/dpseci-debugfs.h (revision 906fd46a65383cd639e5eec72a047efc33045d86)
1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
2 /* Copyright 2019 NXP */
3 
4 #ifndef DPSECI_DEBUGFS_H
5 #define DPSECI_DEBUGFS_H
6 
7 #include <linux/dcache.h>
8 #include "caamalg_qi2.h"
9 
10 #ifdef CONFIG_DEBUG_FS
11 void dpaa2_dpseci_debugfs_init(struct dpaa2_caam_priv *priv);
12 void dpaa2_dpseci_debugfs_exit(struct dpaa2_caam_priv *priv);
13 #else
14 static inline void dpaa2_dpseci_debugfs_init(struct dpaa2_caam_priv *priv) {}
15 static inline void dpaa2_dpseci_debugfs_exit(struct dpaa2_caam_priv *priv) {}
16 #endif /* CONFIG_DEBUG_FS */
17 
18 #endif /* DPSECI_DEBUGFS_H */
19