Andy Shevchenko | 9cade1a | 2013-06-05 15:26:45 +0300 | [diff] [blame] | 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 | |
Andy Shevchenko | 2a52f6e | 2014-09-23 17:18:15 +0300 | [diff] [blame] | 11 | #ifndef _DMA_DW_INTERNAL_H |
| 12 | #define _DMA_DW_INTERNAL_H |
Andy Shevchenko | 3d588f8 | 2014-09-23 17:18:11 +0300 | [diff] [blame] | 13 | |
| 14 | #include <linux/dma/dw.h> |
Andy Shevchenko | 9cade1a | 2013-06-05 15:26:45 +0300 | [diff] [blame] | 15 | |
| 16 | #include "regs.h" |
| 17 | |
Andy Shevchenko | 2540f74 | 2014-09-23 17:18:13 +0300 | [diff] [blame] | 18 | int dw_dma_disable(struct dw_dma_chip *chip); |
| 19 | int dw_dma_enable(struct dw_dma_chip *chip); |
Andy Shevchenko | 9cade1a | 2013-06-05 15:26:45 +0300 | [diff] [blame] | 20 | |
Andy Shevchenko | 4d130de | 2014-08-19 20:29:16 +0300 | [diff] [blame] | 21 | extern bool dw_dma_filter(struct dma_chan *chan, void *param); |
Andy Shevchenko | 9cade1a | 2013-06-05 15:26:45 +0300 | [diff] [blame] | 22 | |
Andy Shevchenko | 2a52f6e | 2014-09-23 17:18:15 +0300 | [diff] [blame] | 23 | #endif /* _DMA_DW_INTERNAL_H */ |