18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0+ */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * ALSA PCM interface for the Samsung SoC 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci#ifndef _SAMSUNG_DMA_H 78c2ecf20Sopenharmony_ci#define _SAMSUNG_DMA_H 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#include <sound/dmaengine_pcm.h> 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci/* 128c2ecf20Sopenharmony_ci * @tx, @rx arguments can be NULL if the DMA channel names are "tx", "rx", 138c2ecf20Sopenharmony_ci * otherwise actual DMA channel names must be passed to this function. 148c2ecf20Sopenharmony_ci */ 158c2ecf20Sopenharmony_ciint samsung_asoc_dma_platform_register(struct device *dev, dma_filter_fn filter, 168c2ecf20Sopenharmony_ci const char *tx, const char *rx, 178c2ecf20Sopenharmony_ci struct device *dma_dev); 188c2ecf20Sopenharmony_ci#endif /* _SAMSUNG_DMA_H */ 19