Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0+ */
0002 /*
0003  * ALSA PCM interface for the Samsung SoC
0004  */
0005 
0006 #ifndef _SAMSUNG_DMA_H
0007 #define _SAMSUNG_DMA_H
0008 
0009 #include <sound/dmaengine_pcm.h>
0010 
0011 /*
0012  * @tx, @rx arguments can be NULL if the DMA channel names are "tx", "rx",
0013  * otherwise actual DMA channel names must be passed to this function.
0014  */
0015 int samsung_asoc_dma_platform_register(struct device *dev, dma_filter_fn filter,
0016                        const char *tx, const char *rx,
0017                        struct device *dma_dev);
0018 #endif /* _SAMSUNG_DMA_H */