162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#ifndef __MACH_SSI_H
362306a36Sopenharmony_ci#define __MACH_SSI_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_cistruct snd_ac97;
662306a36Sopenharmony_ci
762306a36Sopenharmony_ciextern unsigned char imx_ssi_fiq_start, imx_ssi_fiq_end;
862306a36Sopenharmony_ciextern unsigned long imx_ssi_fiq_base, imx_ssi_fiq_tx_buffer, imx_ssi_fiq_rx_buffer;
962306a36Sopenharmony_ci
1062306a36Sopenharmony_cistruct imx_ssi_platform_data {
1162306a36Sopenharmony_ci	unsigned int flags;
1262306a36Sopenharmony_ci#define IMX_SSI_DMA            (1 << 0)
1362306a36Sopenharmony_ci#define IMX_SSI_USE_AC97       (1 << 1)
1462306a36Sopenharmony_ci#define IMX_SSI_NET            (1 << 2)
1562306a36Sopenharmony_ci#define IMX_SSI_SYN            (1 << 3)
1662306a36Sopenharmony_ci#define IMX_SSI_USE_I2S_SLAVE  (1 << 4)
1762306a36Sopenharmony_ci	void (*ac97_reset) (struct snd_ac97 *ac97);
1862306a36Sopenharmony_ci	void (*ac97_warm_reset)(struct snd_ac97 *ac97);
1962306a36Sopenharmony_ci};
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ciextern int mxc_set_irq_fiq(unsigned int irq, unsigned int type);
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ci#endif /* __MACH_SSI_H */
2462306a36Sopenharmony_ci
25