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