Skip to contentSkip to conversation

DMA to static address

DISCUSSION James 2 participants 2 messages May 28, 2010

lore
Share & tools
lore

James

author
#0 lore raw

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.

#1 lore raw
Quoted 8 lines · James

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.

Quoted 5 lines

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.