/13] OMAP: DMA: Replace read/write
macros with functions
G, Manjunath Kondaiah manj...@ti.com writes:
The low level read/write macros are replaced with static
inline functions
and register offsets are handled through static register
offset tables
mapped through enumeration constants
G, Manjunath Kondaiah manj...@ti.com writes:
[...]
+ if (reg OMAP1_CH_COMMON_START)
+ __raw_writew(val, dma_base +
+ (reg_map_omap1[reg] + 0x40 * lch));
+ else
+ __raw_writew(val, dma_base +
/13] OMAP: DMA: Replace read/write
macros with functions
G, Manjunath Kondaiah manj...@ti.com writes:
[...]
+if (reg OMAP1_CH_COMMON_START)
+__raw_writew(val, dma_base +
+(reg_map_omap1[reg] +
0x40 * lch
G, Manjunath Kondaiah manj...@ti.com writes:
The low level read/write macros are replaced with static inline functions
and register offsets are handled through static register offset tables
mapped through enumeration constants.
The objective of this patch is to prepare for omap dma driver
-Original Message-
From: Menon, Nishanth
Sent: Wednesday, October 27, 2010 7:56 PM
To: G, Manjunath Kondaiah
Cc: linux-omap@vger.kernel.org;
linux-arm-ker...@lists.infradead.org; Cousson, Benoit; Kevin
Hilman; Shilimkar, Santosh
Subject: RE: [PATCH v3 01/13] OMAP: DMA
-Original Message-
From: G, Manjunath Kondaiah
Sent: Tuesday, October 26, 2010 10:55 PM
[..]
[...]
diff --git a/arch/arm/plat-omap/dma.c
b/arch/arm/plat-omap/dma.c index
f5c5b8d..77241e2 100644
--- a/arch/arm/plat-omap/dma.c
+++ b/arch/arm/plat-omap/dma.c
@@ -40,6
The low level read/write macros are replaced with static inline functions
and register offsets are handled through static register offset tables
mapped through enumeration constants.
The objective of this patch is to prepare for omap dma driver cleanup
and dma hwmod implementation. The code
G, Manjunath Kondaiah had written, on 10/26/2010 08:25 AM, the following:
[...]
diff --git a/arch/arm/plat-omap/dma.c b/arch/arm/plat-omap/dma.c
index f5c5b8d..77241e2 100644
--- a/arch/arm/plat-omap/dma.c
+++ b/arch/arm/plat-omap/dma.c
@@ -40,6 +40,147 @@
#undef DEBUG
+enum {
+ GCR1 =
-Original Message-
From: Menon, Nishanth
Sent: Tuesday, October 26, 2010 8:19 PM
To: G, Manjunath Kondaiah
Cc: linux-omap@vger.kernel.org;
linux-arm-ker...@lists.infradead.org; Cousson, Benoit; Kevin
Hilman; Shilimkar, Santosh
Subject: Re: [PATCH v3 01/13] OMAP: DMA: Replace