#include <linux/bitops.h>
#include <linux/dmaengine.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/types.h>
#include "internal.h"
static void dw_dma_initialize_chan(struct dw_dma_chan *dwc)
{ … }
static void dw_dma_suspend_chan(struct dw_dma_chan *dwc, bool drain)
{ … }
static void dw_dma_resume_chan(struct dw_dma_chan *dwc, bool drain)
{ … }
static u32 dw_dma_bytes2block(struct dw_dma_chan *dwc,
size_t bytes, unsigned int width, size_t *len)
{ … }
static size_t dw_dma_block2bytes(struct dw_dma_chan *dwc, u32 block, u32 width)
{ … }
static u32 dw_dma_prepare_ctllo(struct dw_dma_chan *dwc)
{ … }
static void dw_dma_encode_maxburst(struct dw_dma_chan *dwc, u32 *maxburst)
{ … }
static void dw_dma_set_device_name(struct dw_dma *dw, int id)
{ … }
static void dw_dma_disable(struct dw_dma *dw)
{ … }
static void dw_dma_enable(struct dw_dma *dw)
{ … }
int dw_dma_probe(struct dw_dma_chip *chip)
{ … }
EXPORT_SYMBOL_GPL(…);
int dw_dma_remove(struct dw_dma_chip *chip)
{ … }
EXPORT_SYMBOL_GPL(…);