asoc-imx-ssi.h 647 B

1234567891011121314151617181920212223
  1. #ifndef __MACH_SSI_H
  2. #define __MACH_SSI_H
  3. struct snd_ac97;
  4. extern unsigned char imx_ssi_fiq_start, imx_ssi_fiq_end;
  5. extern unsigned long imx_ssi_fiq_base, imx_ssi_fiq_tx_buffer, imx_ssi_fiq_rx_buffer;
  6. struct imx_ssi_platform_data {
  7. unsigned int flags;
  8. #define IMX_SSI_DMA (1 << 0)
  9. #define IMX_SSI_USE_AC97 (1 << 1)
  10. #define IMX_SSI_NET (1 << 2)
  11. #define IMX_SSI_SYN (1 << 3)
  12. #define IMX_SSI_USE_I2S_SLAVE (1 << 4)
  13. void (*ac97_reset) (struct snd_ac97 *ac97);
  14. void (*ac97_warm_reset)(struct snd_ac97 *ac97);
  15. };
  16. extern int mxc_set_irq_fiq(unsigned int irq, unsigned int type);
  17. #endif /* __MACH_SSI_H */