Debian Codegraph @

sound/soc/samsung/dma.h

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