Florida DMA Map 2024
The ‘nents’ argument to dma_sync_sg_for_cpu() anddma_sync_sg_for_device() must be the same passed todma_map_sg(). Where pool is what you passed to dma_pool_alloc(), and cpu_addr anddma_handle are the values dma_pool_alloc() returned. Is in your driver, which provides the definition of dma_addr_t. This typecan hold any valid DMA address for the platform and should…