mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 01:34:14 +08:00
353d5c241e
Add HDMA DebugFS support to show registers content Signed-off-by: Cai Huoqing <cai.huoqing@linux.dev> Reviewed-by: Serge Semin <fancer.lancer@gmail.com> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Tested-by: Serge Semin <fancer.lancer@gmail.com> Link: https://lore.kernel.org/r/20230520050854.73160-5-cai.huoqing@linux.dev Signed-off-by: Vinod Koul <vkoul@kernel.org>
23 lines
470 B
C
23 lines
470 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (c) 2023 Cai Huoqing
|
|
* Synopsys DesignWare HDMA v0 debugfs
|
|
*
|
|
* Author: Cai Huoqing <cai.huoqing@linux.dev>
|
|
*/
|
|
|
|
#ifndef _DW_HDMA_V0_DEBUG_FS_H
|
|
#define _DW_HDMA_V0_DEBUG_FS_H
|
|
|
|
#include <linux/dma/edma.h>
|
|
|
|
#ifdef CONFIG_DEBUG_FS
|
|
void dw_hdma_v0_debugfs_on(struct dw_edma *dw);
|
|
#else
|
|
static inline void dw_hdma_v0_debugfs_on(struct dw_edma *dw)
|
|
{
|
|
}
|
|
#endif /* CONFIG_DEBUG_FS */
|
|
|
|
#endif /* _DW_HDMA_V0_DEBUG_FS_H */
|