xref: /openbmc/linux/drivers/dma/dw/internal.h (revision 62e59c4e)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Driver for the Synopsys DesignWare DMA Controller
4  *
5  * Copyright (C) 2013 Intel Corporation
6  */
7 
8 #ifndef _DMA_DW_INTERNAL_H
9 #define _DMA_DW_INTERNAL_H
10 
11 #include <linux/dma/dw.h>
12 
13 #include "regs.h"
14 
15 int do_dma_probe(struct dw_dma_chip *chip);
16 int do_dma_remove(struct dw_dma_chip *chip);
17 
18 void do_dw_dma_on(struct dw_dma *dw);
19 void do_dw_dma_off(struct dw_dma *dw);
20 
21 int do_dw_dma_disable(struct dw_dma_chip *chip);
22 int do_dw_dma_enable(struct dw_dma_chip *chip);
23 
24 extern bool dw_dma_filter(struct dma_chan *chan, void *param);
25 
26 #endif /* _DMA_DW_INTERNAL_H */
27