lkml.org 
[lkml]   [2011]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCHv4] DMAEngine: Define interleaved transfer request api
From
On 10 October 2011 16:15, Vinod Koul <vinod.koul@intel.com> wrote:
>
> But I am fine if we find a common ground and merge the two where dmac
> can cleanly identify direction and mode it is operating.
>
The client would set the xfer_direction and dmac would interpret as

enum xfer_direction {
MEM_TO_MEM, -> Async/Memcpy mode
MEM_TO_DEV, -> Slave mode & From Memory to Device
DEV_TO_MEM, -> Slave mode & From Device to Memory
DEV_TO_DEV, -> Slave mode & From Device to Device
}

How could it get any cleaner?


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