Hello @dudu1102,
You are looking for Linux DMA Engine. Information sources are:
- https://www.kernel.org/doc/html/latest/driver-api/dmaengine/client.html
- https://elixir.bootlin.com/linux/latest/source/Documentation/devicetree/bindings/dma/dma.txt
- https://github.com/robertofem/CycloneVSoC-examples/blob/master/Linux-modules/DMA_PL330_LKM_basic/DMA_PL330_LKM_basic.c.
The last one is very good code example from @roberbot. You could also find older discusions about DMA, e.g. Using HPS DMA in De1-SoC.
Hope this help You a bit.
Yours sincerely
Jan Konečný.