1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0+ */ 2*4882a593Smuzhiyun /* 3*4882a593Smuzhiyun * ALSA PCM interface for the Samsung SoC 4*4882a593Smuzhiyun */ 5*4882a593Smuzhiyun 6*4882a593Smuzhiyun #ifndef _SAMSUNG_DMA_H 7*4882a593Smuzhiyun #define _SAMSUNG_DMA_H 8*4882a593Smuzhiyun 9*4882a593Smuzhiyun #include <sound/dmaengine_pcm.h> 10*4882a593Smuzhiyun 11*4882a593Smuzhiyun /* 12*4882a593Smuzhiyun * @tx, @rx arguments can be NULL if the DMA channel names are "tx", "rx", 13*4882a593Smuzhiyun * otherwise actual DMA channel names must be passed to this function. 14*4882a593Smuzhiyun */ 15*4882a593Smuzhiyun int samsung_asoc_dma_platform_register(struct device *dev, dma_filter_fn filter, 16*4882a593Smuzhiyun const char *tx, const char *rx, 17*4882a593Smuzhiyun struct device *dma_dev); 18*4882a593Smuzhiyun #endif /* _SAMSUNG_DMA_H */ 19