1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Driver for the Synopsys DesignWare DMA Controller
5 * Copyright (C) 2013 Intel Corporation
8 #ifndef _DMA_DW_INTERNAL_H
9 #define _DMA_DW_INTERNAL_H
11 #include <linux/dma/dw.h>
15 int do_dma_probe(struct dw_dma_chip
*chip
);
16 int do_dma_remove(struct dw_dma_chip
*chip
);
18 void do_dw_dma_on(struct dw_dma
*dw
);
19 void do_dw_dma_off(struct dw_dma
*dw
);
21 int do_dw_dma_disable(struct dw_dma_chip
*chip
);
22 int do_dw_dma_enable(struct dw_dma_chip
*chip
);
24 extern bool dw_dma_filter(struct dma_chan
*chan
, void *param
);
26 #endif /* _DMA_DW_INTERNAL_H */