2013-06-05 12:26:45 +00:00
|
|
|
/*
|
|
|
|
* Driver for the Synopsys DesignWare DMA Controller
|
|
|
|
*
|
|
|
|
* Copyright (C) 2013 Intel Corporation
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
|
2014-09-23 14:18:15 +00:00
|
|
|
#ifndef _DMA_DW_INTERNAL_H
|
|
|
|
#define _DMA_DW_INTERNAL_H
|
2014-09-23 14:18:11 +00:00
|
|
|
|
|
|
|
#include <linux/dma/dw.h>
|
2013-06-05 12:26:45 +00:00
|
|
|
|
|
|
|
#include "regs.h"
|
|
|
|
|
2014-09-23 14:18:13 +00:00
|
|
|
int dw_dma_disable(struct dw_dma_chip *chip);
|
|
|
|
int dw_dma_enable(struct dw_dma_chip *chip);
|
2013-06-05 12:26:45 +00:00
|
|
|
|
2014-08-19 17:29:16 +00:00
|
|
|
extern bool dw_dma_filter(struct dma_chan *chan, void *param);
|
2013-06-05 12:26:45 +00:00
|
|
|
|
2014-09-23 14:18:15 +00:00
|
|
|
#endif /* _DMA_DW_INTERNAL_H */
|