Re: Question about DMA mapping.

2018-08-31 Thread valdis . kletnieks
On Fri, 31 Aug 2018 08:53:29 +0800, "phind@gmail.com" said: > Thank for your time, I'm new to linux kernel. I am reading LDD3 chapter > 15, Dirrect Memory Access section. I see that when I call function > /dma_map_single/ and /dma_unmap_single/, I need to pass a direction as a > parameter.

Question about DMA mapping.

2018-08-30 Thread phind....@gmail.com
Hi everyone, Thank for your time, I'm new to linux kernel. I am reading LDD3 chapter 15, Dirrect Memory Access section. I see that when I call function /dma_map_single/ and /dma_unmap_single/, I need to pass a direction as a parameter. I wonder what is purpose of it? Does It relate to