Ben Dooks | c0f41bb | 2007-02-14 13:20:03 +0100 | [diff] [blame] | 1 | /* |
Ben Dooks | c0f41bb | 2007-02-14 13:20:03 +0100 | [diff] [blame] | 2 | * 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 Kim | 344b4c4 | 2011-09-02 09:44:43 +0900 | [diff] [blame] | 7 | * ALSA PCM interface for the Samsung SoC |
Ben Dooks | c0f41bb | 2007-02-14 13:20:03 +0100 | [diff] [blame] | 8 | */ |
| 9 | |
Sylwester Nawrocki | 9b08f30 | 2016-08-04 11:30:32 +0200 | [diff] [blame] | 10 | #ifndef _SAMSUNG_DMA_H |
| 11 | #define _SAMSUNG_DMA_H |
Ben Dooks | c0f41bb | 2007-02-14 13:20:03 +0100 | [diff] [blame] | 12 | |
Mark Brown | d37bdf7 | 2013-12-05 14:14:52 +0000 | [diff] [blame] | 13 | #include <sound/dmaengine_pcm.h> |
| 14 | |
Sylwester Nawrocki | 42a74e7 | 2016-07-21 20:03:50 +0200 | [diff] [blame] | 15 | /* |
| 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 | */ |
| 19 | int samsung_asoc_dma_platform_register(struct device *dev, dma_filter_fn filter, |
| 20 | const char *tx, const char *rx); |
Sylwester Nawrocki | 9b08f30 | 2016-08-04 11:30:32 +0200 | [diff] [blame] | 21 | #endif /* _SAMSUNG_DMA_H */ |