multiple dma engines/ ring buffers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: multiple dma engines/ ring buffers
- From: Henk Medenblik <yoda@xxxxxxxxxxxxx>
- Date: Tue, 15 Mar 2022 14:18:55 +0100
- Organization: DeathStar2
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
[Index of Archives]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Yosemite News]
[Linux Input]
[Linux Kernel]
[Linux SCSI]
[X.org]