blob: 41439732ff6b8ae9b09822330de2921bf64ee37b [file] [log] [blame]
Andy Shevchenko9cade1a2013-06-05 15:26:45 +03001/*
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 Shevchenko2a52f6e2014-09-23 17:18:15 +030011#ifndef _DMA_DW_INTERNAL_H
12#define _DMA_DW_INTERNAL_H
Andy Shevchenko3d588f82014-09-23 17:18:11 +030013
14#include <linux/dma/dw.h>
Andy Shevchenko9cade1a2013-06-05 15:26:45 +030015
16#include "regs.h"
17
Andy Shevchenko2540f742014-09-23 17:18:13 +030018int dw_dma_disable(struct dw_dma_chip *chip);
19int dw_dma_enable(struct dw_dma_chip *chip);
Andy Shevchenko9cade1a2013-06-05 15:26:45 +030020
Andy Shevchenko4d130de2014-08-19 20:29:16 +030021extern bool dw_dma_filter(struct dma_chan *chan, void *param);
Andy Shevchenko9cade1a2013-06-05 15:26:45 +030022
Andy Shevchenko2a52f6e2014-09-23 17:18:15 +030023#endif /* _DMA_DW_INTERNAL_H */