at v5.1 26 lines 606 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Driver for the Synopsys DesignWare DMA Controller 4 * 5 * Copyright (C) 2013 Intel Corporation 6 */ 7 8#ifndef _DMA_DW_INTERNAL_H 9#define _DMA_DW_INTERNAL_H 10 11#include <linux/dma/dw.h> 12 13#include "regs.h" 14 15int do_dma_probe(struct dw_dma_chip *chip); 16int do_dma_remove(struct dw_dma_chip *chip); 17 18void do_dw_dma_on(struct dw_dma *dw); 19void do_dw_dma_off(struct dw_dma *dw); 20 21int do_dw_dma_disable(struct dw_dma_chip *chip); 22int do_dw_dma_enable(struct dw_dma_chip *chip); 23 24extern bool dw_dma_filter(struct dma_chan *chan, void *param); 25 26#endif /* _DMA_DW_INTERNAL_H */