[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5835C8E4.3020509@sigmadesigns.com>
Date: Wed, 23 Nov 2016 17:50:44 +0100
From: Marc Gonzalez <marc_gonzalez@...madesigns.com>
To: Mans Rullgard <mans@...sr.com>, Vinod Koul <vinod.koul@...el.com>
CC: <dmaengine@...r.kernel.org>, LKML <linux-kernel@...r.kernel.org>,
Sebastian Frias <sf84@...oste.net>, Mason <slash.tmp@...e.fr>,
Thibaud Cornic <thibaud_cornic@...madesigns.com>
Subject: [PATCH 2/6] Provide names for SBOX register offsets
---
drivers/dma/tango-dma.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/dma/tango-dma.c b/drivers/dma/tango-dma.c
index 53f6c7f61599..494b046d1d3d 100644
--- a/drivers/dma/tango-dma.c
+++ b/drivers/dma/tango-dma.c
@@ -38,6 +38,11 @@
#define DMA_MODE_DOUBLE 2
#define DMA_MODE_RECT 3
+#define SBOX_RESET 0
+#define SBOX_RESET2 4
+#define SBOX_ROUTE 8
+#define SBOX_ROUTE2 12
+
struct tangox_dma_sg {
dma_addr_t addr;
unsigned int len;
--
2.9.0
Powered by blists - more mailing lists