RE: [PATCH v3 01/13] OMAP: DMA: Replace read/write macros with functions

2010-11-10 Thread G, Manjunath Kondaiah
/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

Re: [PATCH v3 01/13] OMAP: DMA: Replace read/write macros with functions

2010-11-10 Thread Kevin Hilman
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 +

RE: [PATCH v3 01/13] OMAP: DMA: Replace read/write macros with functions

2010-11-10 Thread G, Manjunath Kondaiah
/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

Re: [PATCH v3 01/13] OMAP: DMA: Replace read/write macros with functions

2010-11-09 Thread Kevin Hilman
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

RE: [PATCH v3 01/13] OMAP: DMA: Replace read/write macros with functions

2010-10-29 Thread G, Manjunath Kondaiah
-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

RE: [PATCH v3 01/13] OMAP: DMA: Replace read/write macros with functions

2010-10-27 Thread Menon, Nishanth
-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

[PATCH v3 01/13] OMAP: DMA: Replace read/write macros with functions

2010-10-26 Thread G, Manjunath Kondaiah
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

Re: [PATCH v3 01/13] OMAP: DMA: Replace read/write macros with functions

2010-10-26 Thread Nishanth Menon
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 =

RE: [PATCH v3 01/13] OMAP: DMA: Replace read/write macros with functions

2010-10-26 Thread G, Manjunath Kondaiah
-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