[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151013104301.GA30342@griffinp-ThinkPad-X1-Carbon-2nd>
Date: Tue, 13 Oct 2015 11:43:01 +0100
From: Peter Griffin <peter.griffin@...aro.org>
To: "Koul, Vinod" <vinod.koul@...el.com>
Cc: "linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"patrice.chotard@...com" <patrice.chotard@...com>,
"maxime.coquelin@...com" <maxime.coquelin@...com>,
"srinivas.kandagatla@...il.com" <srinivas.kandagatla@...il.com>,
"dmaengine@...r.kernel.org" <dmaengine@...r.kernel.org>,
"ludovic.barre@...com" <ludovic.barre@...com>,
"lee.jones@...aro.org" <lee.jones@...aro.org>,
"robh+dt@...nel.org" <robh+dt@...nel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>
Subject: Re: [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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists