]> Git Repo - J-u-boot.git/commit - include/dma.h
dma: Introduce dma_get_cfg() interface
authorVignesh Raghavendra <[email protected]>
Wed, 4 Dec 2019 16:47:20 +0000 (22:17 +0530)
committerJoe Hershberger <[email protected]>
Mon, 9 Dec 2019 15:47:43 +0000 (09:47 -0600)
commitb8a4dd28f3b719d176fed5dc8d23a898463b072c
tree24165070b5a39e8a4a63d5e11a5673815bcf6af3
parent08b3e90a0168c9053c9bdd7df5d187cb6668a4c6
dma: Introduce dma_get_cfg() interface

Sometimes, there would be a need to exchange data between DMA provider
and DMA client which are very specific to DMA driver of the SoC/platform
and are not generic enough to be put into struct dma. Therefore, introduce
dma_get_cfg() interface to get DMA provider specific data from client
device. Clients can use unique configuration ID flags to get different
configuration data from DMA driver.

Signed-off-by: Vignesh Raghavendra <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
Reviewed-by: Grygorii Strashko <[email protected]>
drivers/dma/dma-uclass.c
include/dma-uclass.h
include/dma.h
This page took 0.034875 seconds and 4 git commands to generate.