Platform: Rockchip
OS: Android 6.0
Kernel: 3.10.92
dma engigne使用流程请看以前的一篇文章:
http://blog.csdn.net/kris_fei/article/details/51305299
此文关注点在Audio 对DMA的实例调用
申请channel:
soc_new_pcm -> soc-pcm.c
platform->driver->pcm_new -> 指向struct dmaengine_no_residue_pcm_platform
dmaengine_pcm_new ->
dma_request_slave_channel ->
of_dma_request_slave_channel -> of-dma.c
ofdma->of_dma_xlate -> //pl330_probe()@pl330.c中赋值
of_dma_pl330_xlate -> pl330.c
OS: Android 6.0
Kernel: 3.10.92
dma engigne使用流程请看以前的一篇文章:
http://blog.csdn.net/kris_fei/article/details/51305299
此文关注点在Audio 对DMA的实例调用
申请channel:
soc_new_pcm -> soc-pcm.c
platform->driver->pcm_new -> 指向struct dmaengine_no_residue_pcm_platform
dmaengine_pcm_new ->
dma_request_slave_channel ->
of_dma_request_slave_channel -> of-dma.c
ofdma->of_dma_xlate -> //pl330_probe()@pl330.c中赋值
of_dma_pl330_xlate -> pl330.c
dma_request_channel //标准申请dma流程