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 do_dma_probe(struct dw_dma_chip *chip); 19 int do_dma_remove(struct dw_dma_chip *chip); 20 21 void do_dw_dma_on(struct dw_dma *dw); 22 void do_dw_dma_off(struct dw_dma *dw); 23 24 int do_dw_dma_disable(struct dw_dma_chip *chip); 25 int do_dw_dma_enable(struct dw_dma_chip *chip); 26 27 extern bool dw_dma_filter(struct dma_chan *chan, void *param); 28 29 #endif /* _DMA_DW_INTERNAL_H */ 30