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

2010-11-10 Thread Kevin Hilman
rm-ker...@lists.infradead.org; Cousson, Benoit; >> Shilimkar, Santosh >> Subject: Re: [PATCH v3 01/13] OMAP: DMA: Replace read/write >> macros with functions >> >> "G, Manjunath Kondaiah" writes: >> >> [...] >> >> &g

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

2010-11-10 Thread G, Manjunath Kondaiah
> Subject: Re: [PATCH v3 01/13] OMAP: DMA: Replace read/write > macros with functions > > "G, Manjunath Kondaiah" writes: > > [...] > > >> > +if (reg > OMAP1_CH_COMMON_START) > >> > +__raw_wr

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

2010-11-10 Thread Kevin Hilman
"G, Manjunath Kondaiah" writes: [...] >> > + if (reg > OMAP1_CH_COMMON_START) >> > + __raw_writew(val, dma_base + >> > + (reg_map_omap1[reg] + 0x40 * lch)); >> > + else >> > + __raw_writew(val, dma_base + >> reg_map_om

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

2010-11-10 Thread G, Manjunath Kondaiah
Santosh > Subject: Re: [PATCH v3 01/13] OMAP: DMA: Replace read/write > macros with functions > > "G, Manjunath Kondaiah" writes: > > > The low level read/write macros are replaced with static > inline functions > > and register offsets are handled through st

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

2010-11-09 Thread Kevin Hilman
"G, Manjunath Kondaiah" 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 cleanup >

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: [P

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-o

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: [P

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 =

[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 optimi