xref: /linux/drivers/crypto/caam/dpseci-debugfs.h (revision 2da68a77)
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