dma.h 512 B

123456789101112131415161718
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * ALSA PCM interface for the Samsung SoC
  4. */
  5. #ifndef _SAMSUNG_DMA_H
  6. #define _SAMSUNG_DMA_H
  7. #include <sound/dmaengine_pcm.h>
  8. /*
  9. * @tx, @rx arguments can be NULL if the DMA channel names are "tx", "rx",
  10. * otherwise actual DMA channel names must be passed to this function.
  11. */
  12. int samsung_asoc_dma_platform_register(struct device *dev, dma_filter_fn filter,
  13. const char *tx, const char *rx,
  14. struct device *dma_dev);
  15. #endif /* _SAMSUNG_DMA_H */