2019-01-07 14:07:41 +03:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
2013-06-05 16:26:45 +04:00
|
|
|
/*
|
|
|
|
* Driver for the Synopsys DesignWare DMA Controller
|
|
|
|
*
|
|
|
|
* Copyright (C) 2013 Intel Corporation
|
|
|
|
*/
|
|
|
|
|
2014-09-23 18:18:15 +04:00
|
|
|
#ifndef _DMA_DW_INTERNAL_H
|
|
|
|
#define _DMA_DW_INTERNAL_H
|
2014-09-23 18:18:11 +04:00
|
|
|
|
|
|
|
#include <linux/dma/dw.h>
|
2013-06-05 16:26:45 +04:00
|
|
|
|
|
|
|
#include "regs.h"
|
|
|
|
|
2019-01-07 14:07:38 +03:00
|
|
|
int do_dma_probe(struct dw_dma_chip *chip);
|
|
|
|
int do_dma_remove(struct dw_dma_chip *chip);
|
|
|
|
|
|
|
|
void do_dw_dma_on(struct dw_dma *dw);
|
|
|
|
void do_dw_dma_off(struct dw_dma *dw);
|
|
|
|
|
|
|
|
int do_dw_dma_disable(struct dw_dma_chip *chip);
|
|
|
|
int do_dw_dma_enable(struct dw_dma_chip *chip);
|
2013-06-05 16:26:45 +04:00
|
|
|
|
2014-08-19 21:29:16 +04:00
|
|
|
extern bool dw_dma_filter(struct dma_chan *chan, void *param);
|
2013-06-05 16:26:45 +04:00
|
|
|
|
2014-09-23 18:18:15 +04:00
|
|
|
#endif /* _DMA_DW_INTERNAL_H */
|