linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* DMA to static address
@ 2010-05-28  6:43 James
  2010-05-28  6:58 ` Viresh KUMAR
  0 siblings, 1 reply; 2+ messages in thread
From: James @ 2010-05-28  6:43 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

I've been looking around in the kernel source and googling, and I'm
having trouble finding any information about doing a DMA transfer with
an I/O device that implements a single address for DMA.  I.e. the
external memory address should not be auto incremented during the
transfer.

Is that mode supported by the Linux generic DMA system, and where should
I look?

Specifically this is for the i.MX27 and friends.

Regards,
James.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* DMA to static address
  2010-05-28  6:43 DMA to static address James
@ 2010-05-28  6:58 ` Viresh KUMAR
  0 siblings, 0 replies; 2+ messages in thread
From: Viresh KUMAR @ 2010-05-28  6:58 UTC (permalink / raw)
  To: linux-arm-kernel

On 5/28/2010 12:13 PM, James wrote:
> Hi,
> 
> I've been looking around in the kernel source and googling, and I'm
> having trouble finding any information about doing a DMA transfer with
> an I/O device that implements a single address for DMA.  I.e. the
> external memory address should not be auto incremented during the
> transfer.
> 
> Is that mode supported by the Linux generic DMA system, and where should
> I look?
> 
> Specifically this is for the i.MX27 and friends.
> 

James,

DMA stuff can be found in drivers/dma folder. You can look in DMAEngine
files for further information.

This feature is not DMA Engine specific, rather driver specific.
It is totally dependent on DMA driver, if it has implemented such feature.
For transferring data to/from peripherals device_prep_slave_sg routine is used.

viresh.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-28  6:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-28  6:43 DMA to static address James
2010-05-28  6:58 ` Viresh KUMAR

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).