mx1_mx2-pcm.h 853 B

1234567891011121314151617181920212223242526
  1. /*
  2. * mx1_mx2-pcm.h :- ASoC platform header for Freescale i.MX1x, i.MX2x
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8. #ifndef _MX1_MX2_PCM_H
  9. #define _MX1_MX2_PCM_H
  10. /* DMA information for mx1_mx2 platforms */
  11. struct mx1_mx2_pcm_dma_params {
  12. char *name; /* stream identifier */
  13. unsigned int transfer_type; /* READ or WRITE DMA transfer */
  14. dma_addr_t per_address; /* physical address of SSI fifo */
  15. int event_id; /* fixed DMA number for SSI fifo */
  16. int watermark_level; /* SSI fifo watermark level */
  17. int per_config; /* DMA Config flags for peripheral */
  18. int mem_config; /* DMA Config flags for RAM */
  19. };
  20. /* platform data */
  21. extern struct snd_soc_platform mx1_mx2_soc_platform;
  22. #endif