dma.h 703 B

123456789101112131415161718192021
  1. /*
  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. *
  7. * ALSA PCM interface for the Samsung SoC
  8. */
  9. #ifndef _SAMSUNG_DMA_H
  10. #define _SAMSUNG_DMA_H
  11. #include <sound/dmaengine_pcm.h>
  12. /*
  13. * @tx, @rx arguments can be NULL if the DMA channel names are "tx", "rx",
  14. * otherwise actual DMA channel names must be passed to this function.
  15. */
  16. int samsung_asoc_dma_platform_register(struct device *dev, dma_filter_fn filter,
  17. const char *tx, const char *rx);
  18. #endif /* _SAMSUNG_DMA_H */