shdmac.c (4981c4dc194efb18f0e9a02f1b43e926f2f0d2bb) | shdmac.c (4620ad5419612fcd9ab412410440d3a7e8a9a90a) |
---|---|
1/* 2 * Renesas SuperH DMA Engine support 3 * 4 * base is drivers/dma/flsdma.c 5 * 6 * Copyright (C) 2011-2012 Guennadi Liakhovetski <g.liakhovetski@gmx.de> 7 * Copyright (C) 2009 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> 8 * Copyright (C) 2009 Renesas Solutions, Inc. All rights reserved. --- 23 unchanged lines hidden (view full) --- 32#include <linux/notifier.h> 33#include <linux/kdebug.h> 34#include <linux/spinlock.h> 35#include <linux/rculist.h> 36 37#include "../dmaengine.h" 38#include "shdma.h" 39 | 1/* 2 * Renesas SuperH DMA Engine support 3 * 4 * base is drivers/dma/flsdma.c 5 * 6 * Copyright (C) 2011-2012 Guennadi Liakhovetski <g.liakhovetski@gmx.de> 7 * Copyright (C) 2009 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> 8 * Copyright (C) 2009 Renesas Solutions, Inc. All rights reserved. --- 23 unchanged lines hidden (view full) --- 32#include <linux/notifier.h> 33#include <linux/kdebug.h> 34#include <linux/spinlock.h> 35#include <linux/rculist.h> 36 37#include "../dmaengine.h" 38#include "shdma.h" 39 |
40/* DMA register */ 41#define SAR 0x00 42#define DAR 0x04 43#define TCR 0x08 44#define CHCR 0x0C 45#define DMAOR 0x40 46 47#define TEND 0x18 /* USB-DMAC */ 48 |
|
40#define SH_DMAE_DRV_NAME "sh-dma-engine" 41 42/* Default MEMCPY transfer size = 2^2 = 4 bytes */ 43#define LOG2_DEFAULT_XFER_SIZE 2 44#define SH_DMA_SLAVE_NUMBER 256 45#define SH_DMA_TCR_MAX (16 * 1024 * 1024 - 1) 46 47/* --- 905 unchanged lines hidden --- | 49#define SH_DMAE_DRV_NAME "sh-dma-engine" 50 51/* Default MEMCPY transfer size = 2^2 = 4 bytes */ 52#define LOG2_DEFAULT_XFER_SIZE 2 53#define SH_DMA_SLAVE_NUMBER 256 54#define SH_DMA_TCR_MAX (16 * 1024 * 1024 - 1) 55 56/* --- 905 unchanged lines hidden --- |