Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
25 lines
686 B
C
25 lines
686 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __MACH_SSI_H
|
|
#define __MACH_SSI_H
|
|
|
|
struct snd_ac97;
|
|
|
|
extern unsigned char imx_ssi_fiq_start, imx_ssi_fiq_end;
|
|
extern unsigned long imx_ssi_fiq_base, imx_ssi_fiq_tx_buffer, imx_ssi_fiq_rx_buffer;
|
|
|
|
struct imx_ssi_platform_data {
|
|
unsigned int flags;
|
|
#define IMX_SSI_DMA (1 << 0)
|
|
#define IMX_SSI_USE_AC97 (1 << 1)
|
|
#define IMX_SSI_NET (1 << 2)
|
|
#define IMX_SSI_SYN (1 << 3)
|
|
#define IMX_SSI_USE_I2S_SLAVE (1 << 4)
|
|
void (*ac97_reset) (struct snd_ac97 *ac97);
|
|
void (*ac97_warm_reset)(struct snd_ac97 *ac97);
|
|
};
|
|
|
|
extern int mxc_set_irq_fiq(unsigned int irq, unsigned int type);
|
|
|
|
#endif /* __MACH_SSI_H */
|
|
|