2 * linux/sound/arm/pxa2xx-pcm.h -- ALSA PCM interface for the Intel PXA2xx chip
4 * Author: Nicolas Pitre
5 * Created: Nov 30, 2004
6 * Copyright: MontaVista Software, Inc.
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.
16 struct pxa2xx_pcm_dma_params {
17 char *name; /* stream identifier */
18 u32 dcmd; /* DMA descriptor dcmd field */
19 volatile u32 *drcmr; /* the DMA request channel to use */
20 u32 dev_addr; /* device physical address for DMA */
32 #define PXA2XX_DAI_AC97_HIFI 0
33 #define PXA2XX_DAI_AC97_AUX 1
34 #define PXA2XX_DAI_AC97_MIC 2
35 #define PXA2XX_DAI_I2S 0
36 #define PXA2XX_DAI_SSP1 0
37 #define PXA2XX_DAI_SSP2 1
38 #define PXA2XX_DAI_SSP3 2
40 extern struct snd_soc_cpu_dai pxa_ac97_dai[3];
41 extern struct snd_soc_cpu_dai pxa_i2s_dai;
42 extern struct snd_soc_cpu_dai pxa_ssp_dai[3];
45 extern struct snd_soc_platform pxa2xx_soc_platform;
46 extern struct snd_ac97_bus_ops pxa2xx_ac97_ops;