fsl_utils.h 666 B

12345678910111213141516171819202122232425
  1. /**
  2. * Freescale ALSA SoC Machine driver utility
  3. *
  4. * Author: Timur Tabi <timur@freescale.com>
  5. *
  6. * Copyright 2010 Freescale Semiconductor, Inc.
  7. *
  8. * This file is licensed under the terms of the GNU General Public License
  9. * version 2. This program is licensed "as is" without any warranty of any
  10. * kind, whether express or implied.
  11. */
  12. #ifndef _FSL_UTILS_H
  13. #define _FSL_UTILS_H
  14. #define DAI_NAME_SIZE 32
  15. struct snd_soc_dai_link;
  16. struct device_node;
  17. int fsl_asoc_get_dma_channel(struct device_node *ssi_np, const char *name,
  18. struct snd_soc_dai_link *dai,
  19. unsigned int *dma_channel_id,
  20. unsigned int *dma_id);
  21. #endif /* _FSL_UTILS_H */