Commit | Line | Data |
---|---|---|
df504eda | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
c0f41bb1 | 2 | /* |
df504eda | 3 | * ALSA PCM interface for the Samsung SoC |
c0f41bb1 BD |
4 | */ |
5 | ||
9b08f30c SN |
6 | #ifndef _SAMSUNG_DMA_H |
7 | #define _SAMSUNG_DMA_H | |
c0f41bb1 | 8 | |
d37bdf73 | 9 | #include <sound/dmaengine_pcm.h> |
c0f41bb1 | 10 | |
42a74e77 SN |
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, | |
96f06cde SN |
16 | const char *tx, const char *rx, |
17 | struct device *dma_dev); | |
9b08f30c | 18 | #endif /* _SAMSUNG_DMA_H */ |