2007-02-14 12:20:03 +00: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 00:44:43 +00:00
|
|
|
* ALSA PCM interface for the Samsung SoC
|
2007-02-14 12:20:03 +00:00
|
|
|
*/
|
|
|
|
|
2016-08-04 09:30:32 +00:00
|
|
|
#ifndef _SAMSUNG_DMA_H
|
|
|
|
#define _SAMSUNG_DMA_H
|
2007-02-14 12:20:03 +00:00
|
|
|
|
2013-12-05 14:14:52 +00:00
|
|
|
#include <sound/dmaengine_pcm.h>
|
2007-02-14 12:20:03 +00:00
|
|
|
|
2016-07-21 18:03:50 +00: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,
|
|
|
|
const char *tx, const char *rx);
|
2016-08-04 09:30:32 +00:00
|
|
|
#endif /* _SAMSUNG_DMA_H */
|