0001
0002 #ifndef __MACH_SSI_H
0003 #define __MACH_SSI_H
0004
0005 struct snd_ac97;
0006
0007 extern unsigned char imx_ssi_fiq_start, imx_ssi_fiq_end;
0008 extern unsigned long imx_ssi_fiq_base, imx_ssi_fiq_tx_buffer, imx_ssi_fiq_rx_buffer;
0009
0010 struct imx_ssi_platform_data {
0011 unsigned int flags;
0012 #define IMX_SSI_DMA (1 << 0)
0013 #define IMX_SSI_USE_AC97 (1 << 1)
0014 #define IMX_SSI_NET (1 << 2)
0015 #define IMX_SSI_SYN (1 << 3)
0016 #define IMX_SSI_USE_I2S_SLAVE (1 << 4)
0017 void (*ac97_reset) (struct snd_ac97 *ac97);
0018 void (*ac97_warm_reset)(struct snd_ac97 *ac97);
0019 };
0020
0021 extern int mxc_set_irq_fiq(unsigned int irq, unsigned int type);
0022
0023 #endif
0024