mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
6cb6e9c605
Since all DW eDMA read and write channels are now installed in a framework of a single DMA engine device, move all the DW eDMA-specific debugfs nodes into a ready-to-use DMA-engine debugfs subdirectory. It's created during the DMA-device registration and can be found in the dma_device.dbg_dev_root field. Link: https://lore.kernel.org/r/20230113171409.30470-19-Sergey.Semin@baikalelectronics.ru Tested-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru> Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Acked-by: Vinod Koul <vkoul@kernel.org>
23 lines
511 B
C
23 lines
511 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (c) 2018-2019 Synopsys, Inc. and/or its affiliates.
|
|
* Synopsys DesignWare eDMA v0 core
|
|
*
|
|
* Author: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
|
|
*/
|
|
|
|
#ifndef _DW_EDMA_V0_DEBUG_FS_H
|
|
#define _DW_EDMA_V0_DEBUG_FS_H
|
|
|
|
#include <linux/dma/edma.h>
|
|
|
|
#ifdef CONFIG_DEBUG_FS
|
|
void dw_edma_v0_debugfs_on(struct dw_edma *dw);
|
|
#else
|
|
static inline void dw_edma_v0_debugfs_on(struct dw_edma *dw)
|
|
{
|
|
}
|
|
#endif /* CONFIG_DEBUG_FS */
|
|
|
|
#endif /* _DW_EDMA_V0_DEBUG_FS_H */
|