Re: dmaengine/Query: What about scatter/gather for mem to mem transfers.

From: Viresh Kumar
Date: Thu Dec 08 2011 - 02:50:31 EST


On 12/8/2011 1:07 PM, Vinod Koul wrote:
> You mean something like:
> struct dma_async_tx_descriptor *(*device_prep_dma_sg)(
> struct dma_chan *chan,
> struct scatterlist *dst_sg, unsigned int dst_nents,
> struct scatterlist *src_sg, unsigned int src_nents,
> unsigned long flags);
>
> Its already there, you need to implement in your driver :)

Ok. I didn't knew it. :(

--
viresh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/