19 lines · c
1/* SPDX-License-Identifier: GPL-2.0+ */2/*3 * ALSA PCM interface for the Samsung SoC4 */5 6#ifndef _SAMSUNG_DMA_H7#define _SAMSUNG_DMA_H8 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 */15int 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 */19