internal.h (e5451c8f8330e03ad3cfa16048b4daf961af434f) internal.h (69da8be90d5e85e60b5377c47384154b9dabf592)
1/*
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
11#ifndef _DMA_DW_INTERNAL_H
12#define _DMA_DW_INTERNAL_H
13
14#include <linux/dma/dw.h>
15
16#include "regs.h"
17
1/*
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
11#ifndef _DMA_DW_INTERNAL_H
12#define _DMA_DW_INTERNAL_H
13
14#include <linux/dma/dw.h>
15
16#include "regs.h"
17
18int dw_dma_disable(struct dw_dma_chip *chip);
19int dw_dma_enable(struct dw_dma_chip *chip);
18int do_dma_probe(struct dw_dma_chip *chip);
19int do_dma_remove(struct dw_dma_chip *chip);
20
20
21void do_dw_dma_on(struct dw_dma *dw);
22void do_dw_dma_off(struct dw_dma *dw);
23
24int do_dw_dma_disable(struct dw_dma_chip *chip);
25int do_dw_dma_enable(struct dw_dma_chip *chip);
26
21extern bool dw_dma_filter(struct dma_chan *chan, void *param);
22
23#endif /* _DMA_DW_INTERNAL_H */
27extern bool dw_dma_filter(struct dma_chan *chan, void *param);
28
29#endif /* _DMA_DW_INTERNAL_H */