spi: sprd: adi: Add a reset reason for watchdog mode
[linux/fpc-iii.git] / drivers / dma / dw / internal.h
blob1dd7a4e6dd235b871ae9d3c105d85d5fd585af4d
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Driver for the Synopsys DesignWare DMA Controller
5 * Copyright (C) 2013 Intel Corporation
6 */
8 #ifndef _DMA_DW_INTERNAL_H
9 #define _DMA_DW_INTERNAL_H
11 #include <linux/dma/dw.h>
13 #include "regs.h"
15 int do_dma_probe(struct dw_dma_chip *chip);
16 int do_dma_remove(struct dw_dma_chip *chip);
18 void do_dw_dma_on(struct dw_dma *dw);
19 void do_dw_dma_off(struct dw_dma *dw);
21 int do_dw_dma_disable(struct dw_dma_chip *chip);
22 int do_dw_dma_enable(struct dw_dma_chip *chip);
24 extern bool dw_dma_filter(struct dma_chan *chan, void *param);
26 #endif /* _DMA_DW_INTERNAL_H */