The DMAEngine provides an interface for obtaining DMA transaction descriptors from an array of scatter gather buffers represented by struct dma_vec. This interface is used in the DMABUF API of the IIO framework [1][2]. To enable DMABUF support through the IIO framework for the Xilinx DMA, implement callback .device_prep_peripheral_dma_vec() of struct dma_device in the driver. [1]: |
||
|---|---|---|
| .. | ||
| Makefile | ||
| xdma-regs.h | ||
| xdma.c | ||
| xilinx_dma.c | ||
| xilinx_dpdma.c | ||
| zynqmp_dma.c | ||