Linux IIO development
 help / color / mirror / Atom feed
* multiple dma engines/ ring buffers
@ 2022-03-15 13:18 Henk Medenblik
  2022-03-17  6:13 ` Alexandru Ardelean
  0 siblings, 1 reply; 2+ messages in thread
From: Henk Medenblik @ 2022-03-15 13:18 UTC (permalink / raw)
  To: linux-iio

Hi,

I am struggling with the concept of using two different DMA engines and 
therefore two ring buffer definitions in a single driver.
My purpose is to have two different data paths which I want to select in 
my iio device driver. One of them has the purpose to stream plain ADC 16 
bit data to my backend while the second selection would be a hardware 
FFT core output (complex 32 bit). So which one I stream to the backend 
should be selectable.

Because both paths originate from different parts in my HW design I 
implemented two different DMA engines and therefore I have two different 
dma names. However, how to deal with that in my single driver? Has 
anyone done that?

Regards

Henk


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

end of thread, other threads:[~2022-03-17  6:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-15 13:18 multiple dma engines/ ring buffers Henk Medenblik
2022-03-17  6:13 ` Alexandru Ardelean

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox