pxa2xx-pcm.h 803 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * linux/sound/arm/pxa2xx-pcm.h -- ALSA PCM interface for the Intel PXA2xx chip
  3. *
  4. * Author: Nicolas Pitre
  5. * Created: Nov 30, 2004
  6. * Copyright: MontaVista Software, Inc.
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License version 2 as
  10. * published by the Free Software Foundation.
  11. */
  12. #ifndef _PXA2XX_PCM_H
  13. #define _PXA2XX_PCM_H
  14. struct pxa2xx_pcm_dma_params {
  15. char *name; /* stream identifier */
  16. u32 dcmd; /* DMA descriptor dcmd field */
  17. volatile u32 *drcmr; /* the DMA request channel to use */
  18. u32 dev_addr; /* device physical address for DMA */
  19. };
  20. struct pxa2xx_gpio {
  21. u32 sys;
  22. u32 rx;
  23. u32 tx;
  24. u32 clk;
  25. u32 frm;
  26. };
  27. /* platform data */
  28. extern struct snd_soc_platform pxa2xx_soc_platform;
  29. #endif