mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 22:34:33 +01:00
Add support of printing the dpseci frame queue statistics using debugfs. Signed-off-by: Vakul Garg <[email protected]> Reviewed-by: Horia Geantă <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
19 lines
556 B
C
19 lines
556 B
C
/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
|
|
/* Copyright 2019 NXP */
|
|
|
|
#ifndef DPSECI_DEBUGFS_H
|
|
#define DPSECI_DEBUGFS_H
|
|
|
|
#include <linux/dcache.h>
|
|
#include "caamalg_qi2.h"
|
|
|
|
#ifdef CONFIG_DEBUG_FS
|
|
void dpaa2_dpseci_debugfs_init(struct dpaa2_caam_priv *priv);
|
|
void dpaa2_dpseci_debugfs_exit(struct dpaa2_caam_priv *priv);
|
|
#else
|
|
static inline void dpaa2_dpseci_debugfs_init(struct dpaa2_caam_priv *priv) {}
|
|
static inline void dpaa2_dpseci_debugfs_exit(struct dpaa2_caam_priv *priv) {}
|
|
#endif /* CONFIG_DEBUG_FS */
|
|
|
|
#endif /* DPSECI_DEBUGFS_H */
|