lkml.org 
[lkml]   [2015]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 3/9] dmaengine: st_fdma: Add STMicroelectronics FDMA driver header file
Hi,

On Thu, 08 Oct 2015, Koul, Vinod wrote:

> On Fri, 2015-09-11 at 15:14 +0100, Peter Griffin wrote:
>
> > +#define FDMA_ID_OFST 0x00000
> > +#define FDMA_VER_OFST 0x00004
> > > +
> > +#define FDMA_EN_OFST 0x00008
>
> Why cant these be BIT() to maintain consistency?
>

These are actually register offsets. I'm only using the BIT
macro for bitfields within the registers e.g. FDMA_EN_RUN

regards,

Peter.


\
 
 \ /
  Last update: 2015-10-13 13:01    [W:0.575 / U:0.568 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site