From mboxrd@z Thu Jan 1 00:00:00 1970 From: ranshalit@gmail.com (Ran Shalit) Date: Sat, 7 Jan 2017 21:00:50 +0200 Subject: dma direction Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Hello, I read the DMA-API-HOWTO https://www.kernel.org/doc/Documentation/DMA-API-HOWTO.txt Which mainly talks about dma mapping APIs. But I don't understand what's the meaning of DMA direction in context of mapping. As I understand this documentation talks about mapping of dma buffers - NOT about triggering dma copy. In order to do a dma copy, we should use sometlink like dmaengine, Right ? So if dma mapping is not concerned with copying dma from cpu to device (or vice versa), why does it talks about dma direction ? Thanks, Ran