2019-04-19 18:21:38 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2007-02-14 20:20:03 +08:00
|
|
|
/*
|
2019-04-19 18:21:38 +08:00
|
|
|
* ALSA PCM interface for the Samsung SoC
|
2007-02-14 20:20:03 +08:00
|
|
|
*/
|
|
|
|
|
2016-08-04 17:30:32 +08:00
|
|
|
#ifndef _SAMSUNG_DMA_H
|
|
|
|
#define _SAMSUNG_DMA_H
|
2007-02-14 20:20:03 +08:00
|
|
|
|
2013-12-05 22:14:52 +08:00
|
|
|
#include <sound/dmaengine_pcm.h>
|
2007-02-14 20:20:03 +08:00
|
|
|
|
2016-07-22 02:03:50 +08:00
|
|
|
/*
|
|
|
|
* @tx, @rx arguments can be NULL if the DMA channel names are "tx", "rx",
|
|
|
|
* otherwise actual DMA channel names must be passed to this function.
|
|
|
|
*/
|
|
|
|
int samsung_asoc_dma_platform_register(struct device *dev, dma_filter_fn filter,
|
2019-02-08 01:00:11 +08:00
|
|
|
const char *tx, const char *rx,
|
|
|
|
struct device *dma_dev);
|
2016-08-04 17:30:32 +08:00
|
|
|
#endif /* _SAMSUNG_DMA_H */
|