xref: /openbmc/linux/drivers/dma/dw/internal.h (revision 92b19ff5)
1 /*
2  * Driver for the Synopsys DesignWare DMA Controller
3  *
4  * Copyright (C) 2013 Intel Corporation
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  */
10 
11 #ifndef _DMA_DW_INTERNAL_H
12 #define _DMA_DW_INTERNAL_H
13 
14 #include <linux/dma/dw.h>
15 
16 #include "regs.h"
17 
18 int dw_dma_disable(struct dw_dma_chip *chip);
19 int dw_dma_enable(struct dw_dma_chip *chip);
20 
21 extern bool dw_dma_filter(struct dma_chan *chan, void *param);
22 
23 #endif /* _DMA_DW_INTERNAL_H */
24