if attach a "xilinx dma" to a iio device(such as ad9265), is libiio compatible with it?
I've branched this into a new discussion since it is unrelated to the original question.
The libiio is not tied to a specific DMA. The interface on the driver side is generic and can be implementing using any DMA. For DMA controllers that implement a DMAengine driver there is even a helper library that allows to use them for IIO device without having to write any custom code.
，Aha， I'm glad to hear that!
I have been stuck at the axi_dmac problem for a long period of time,
I'll replace axi_dmac with xilinx dma conjuction with libiio, to see if this
can help solve my problem.
Retrieving data ...