From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751886Ab1LHHud (ORCPT ); Thu, 8 Dec 2011 02:50:33 -0500 Received: from eu1sys200aog106.obsmtp.com ([207.126.144.121]:35217 "EHLO eu1sys200aog106.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751759Ab1LHHuc (ORCPT ); Thu, 8 Dec 2011 02:50:32 -0500 Message-ID: <4EE06C3C.8080003@st.com> Date: Thu, 8 Dec 2011 13:20:20 +0530 From: Viresh Kumar User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20110812 Thunderbird/6.0 MIME-Version: 1.0 To: Vinod Koul Cc: Dan Williams , "linux-kernel@vger.kernel.org" , Shiraz HASHIM , Armando VISCONTI , Pratyush ANAND , Deepak SIKRI , Vipin KUMAR , Vipul Kumar SAMAR , Vincenzo FRASCINO , Mirko GARDI , Rajeev KUMAR , Amit VIRDI , Bhupesh SHARMA Subject: Re: dmaengine/Query: What about scatter/gather for mem to mem transfers. References: <4EE038BD.7010705@st.com> <1323329870.1641.27.camel@vkoul-udesk3> In-Reply-To: <1323329870.1641.27.camel@vkoul-udesk3> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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