2007-02-14 19:20:03 +07:00
|
|
|
/*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License as published by the
|
|
|
|
* Free Software Foundation; either version 2 of the License, or (at your
|
|
|
|
* option) any later version.
|
|
|
|
*
|
2011-09-02 07:44:43 +07:00
|
|
|
* ALSA PCM interface for the Samsung SoC
|
2007-02-14 19:20:03 +07:00
|
|
|
*/
|
|
|
|
|
2016-08-04 16:30:32 +07:00
|
|
|
#ifndef _SAMSUNG_DMA_H
|
|
|
|
#define _SAMSUNG_DMA_H
|
2007-02-14 19:20:03 +07:00
|
|
|
|
2013-12-05 21:14:52 +07:00
|
|
|
#include <sound/dmaengine_pcm.h>
|
2007-02-14 19:20:03 +07:00
|
|
|
|
2016-07-22 01:03:50 +07: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 00:00:11 +07:00
|
|
|
const char *tx, const char *rx,
|
|
|
|
struct device *dma_dev);
|
2016-08-04 16:30:32 +07:00
|
|
|
#endif /* _SAMSUNG_DMA_H */
|