blob: 7ae580d677c82228edb025b0780e8e2f748d3cf0 [file] [log] [blame]
Ben Dooksc0f41bb2007-02-14 13:20:03 +01001/*
Ben Dooksc0f41bb2007-02-14 13:20:03 +01002 * This program is free software; you can redistribute it and/or modify it
3 * under the terms of the GNU General Public License as published by the
4 * Free Software Foundation; either version 2 of the License, or (at your
5 * option) any later version.
6 *
Boojin Kim344b4c42011-09-02 09:44:43 +09007 * ALSA PCM interface for the Samsung SoC
Ben Dooksc0f41bb2007-02-14 13:20:03 +01008 */
9
Sylwester Nawrocki9b08f302016-08-04 11:30:32 +020010#ifndef _SAMSUNG_DMA_H
11#define _SAMSUNG_DMA_H
Ben Dooksc0f41bb2007-02-14 13:20:03 +010012
Mark Brownd37bdf72013-12-05 14:14:52 +000013#include <sound/dmaengine_pcm.h>
14
Sylwester Nawrocki42a74e72016-07-21 20:03:50 +020015/*
16 * @tx, @rx arguments can be NULL if the DMA channel names are "tx", "rx",
17 * otherwise actual DMA channel names must be passed to this function.
18 */
19int samsung_asoc_dma_platform_register(struct device *dev, dma_filter_fn filter,
20 const char *tx, const char *rx);
Sylwester Nawrocki9b08f302016-08-04 11:30:32 +020021#endif /* _SAMSUNG_DMA_H */