Sascha Hauer | d9e557e | 2010-02-09 10:48:16 +0100 | [diff] [blame] | 1 | #ifndef __MACH_SSI_H |
| 2 | #define __MACH_SSI_H |
| 3 | |
| 4 | struct snd_ac97; |
| 5 | |
| 6 | extern unsigned char imx_ssi_fiq_start, imx_ssi_fiq_end; |
| 7 | extern unsigned long imx_ssi_fiq_base, imx_ssi_fiq_tx_buffer, imx_ssi_fiq_rx_buffer; |
| 8 | |
| 9 | struct imx_ssi_platform_data { |
| 10 | unsigned int flags; |
| 11 | #define IMX_SSI_DMA (1 << 0) |
| 12 | #define IMX_SSI_USE_AC97 (1 << 1) |
Eric BĂ©nard | 0e79612 | 2010-05-27 10:58:54 +0200 | [diff] [blame] | 13 | #define IMX_SSI_NET (1 << 2) |
| 14 | #define IMX_SSI_SYN (1 << 3) |
| 15 | #define IMX_SSI_USE_I2S_SLAVE (1 << 4) |
Sascha Hauer | d9e557e | 2010-02-09 10:48:16 +0100 | [diff] [blame] | 16 | void (*ac97_reset) (struct snd_ac97 *ac97); |
| 17 | void (*ac97_warm_reset)(struct snd_ac97 *ac97); |
| 18 | }; |
| 19 | |
Shawn Guo | 1e66210 | 2012-09-16 22:16:44 +0800 | [diff] [blame] | 20 | extern int mxc_set_irq_fiq(unsigned int irq, unsigned int type); |
| 21 | |
Sascha Hauer | d9e557e | 2010-02-09 10:48:16 +0100 | [diff] [blame] | 22 | #endif /* __MACH_SSI_H */ |
| 23 | |