Re: [PATCH v4 05/18] dmaengine: st_fdma: Add STMicroelectronics FDMA driver header file

2016-06-06 Thread Peter Griffin
Hi Vinod, Thanks for reviewing. On Mon, 06 Jun 2016, Vinod Koul wrote: > On Wed, May 25, 2016 at 05:06:39PM +0100, Peter Griffin wrote: > > > +/* > > + * request control bits > > + */ > > +#define REQ_CTRL_NUM_OPS_MASK GENMASK(31, 24) > > +#define REQ_CTRL_NUM_OPS(n)

Re: [PATCH v4 05/18] dmaengine: st_fdma: Add STMicroelectronics FDMA driver header file

2016-06-05 Thread Vinod Koul
On Wed, May 25, 2016 at 05:06:39PM +0100, Peter Griffin wrote: > +/* > + * request control bits > + */ > +#define REQ_CTRL_NUM_OPS_MASKGENMASK(31, 24) > +#define REQ_CTRL_NUM_OPS(n) (REQ_CTRL_NUM_OPS_MASK & ((n) << 24)) > +#define REQ_CTRL_INITIATOR_MASK BIT(2

[PATCH v4 05/18] dmaengine: st_fdma: Add STMicroelectronics FDMA driver header file

2016-05-25 Thread Peter Griffin
This header file will also be used by the dma xbar driver in the future. Signed-off-by: Ludovic Barre Signed-off-by: Peter Griffin --- drivers/dma/st_fdma.h | 243 ++ 1 file changed, 243 insertions(+) create mode 100644 drivers/dma/st_fdma.h dif