mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
![Gustavo Pimentel](/assets/img/avatar_default.png)
Move struct dentry variable from static definition (dw-edma-v0-debugfs.c) into dw_edma struct (dw-edma-core.h) Also the variable was renamed from base_dir to debugfs. Signed-off-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com> Link: https://lore.kernel.org/r/07c1167b671e7b175700e2e7061cf0b3dd8c6adb.1613674948.git.gustavo.pimentel@synopsys.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
28 lines
1.1 KiB
C
28 lines
1.1 KiB
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_CORE_H
|
|
#define _DW_EDMA_V0_CORE_H
|
|
|
|
#include <linux/dma/edma.h>
|
|
|
|
/* eDMA management callbacks */
|
|
void dw_edma_v0_core_off(struct dw_edma *chan);
|
|
u16 dw_edma_v0_core_ch_count(struct dw_edma *chan, enum dw_edma_dir dir);
|
|
enum dma_status dw_edma_v0_core_ch_status(struct dw_edma_chan *chan);
|
|
void dw_edma_v0_core_clear_done_int(struct dw_edma_chan *chan);
|
|
void dw_edma_v0_core_clear_abort_int(struct dw_edma_chan *chan);
|
|
u32 dw_edma_v0_core_status_done_int(struct dw_edma *chan, enum dw_edma_dir dir);
|
|
u32 dw_edma_v0_core_status_abort_int(struct dw_edma *chan, enum dw_edma_dir dir);
|
|
void dw_edma_v0_core_start(struct dw_edma_chunk *chunk, bool first);
|
|
int dw_edma_v0_core_device_config(struct dw_edma_chan *chan);
|
|
/* eDMA debug fs callbacks */
|
|
void dw_edma_v0_core_debugfs_on(struct dw_edma_chip *chip);
|
|
void dw_edma_v0_core_debugfs_off(struct dw_edma_chip *chip);
|
|
|
|
#endif /* _DW_EDMA_V0_CORE_H */
|