162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#ifndef AU88X0_EQ_H
362306a36Sopenharmony_ci#define AU88X0_EQ_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci/***************************************************************************
662306a36Sopenharmony_ci *            au88x0_eq.h
762306a36Sopenharmony_ci *
862306a36Sopenharmony_ci *  Definitions and constant data for the Aureal Hardware EQ.
962306a36Sopenharmony_ci *
1062306a36Sopenharmony_ci *  Sun Jun  8 18:23:38 2003
1162306a36Sopenharmony_ci *  Author: Manuel Jander (mjander@users.sourceforge.net)
1262306a36Sopenharmony_ci ****************************************************************************/
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_citypedef struct {
1562306a36Sopenharmony_ci	u16 LeftCoefs[50];	//0x4
1662306a36Sopenharmony_ci	u16 RightCoefs[50];	// 0x68
1762306a36Sopenharmony_ci	u16 LeftGains[10];	//0xd0
1862306a36Sopenharmony_ci	u16 RightGains[10];	//0xe4
1962306a36Sopenharmony_ci} auxxEqCoeffSet_t;
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_citypedef struct {
2262306a36Sopenharmony_ci	s32 this04;		/* How many filters for each side (default = 10) */
2362306a36Sopenharmony_ci	s32 this08;		/* inited to cero. Stereo flag? */
2462306a36Sopenharmony_ci} eqhw_t;
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_citypedef struct {
2762306a36Sopenharmony_ci	eqhw_t this04;		/* CHwEq */
2862306a36Sopenharmony_ci	u16 this08;		/* Bad codec flag ? SetBypassGain: bypass gain */
2962306a36Sopenharmony_ci	u16 this0a;
3062306a36Sopenharmony_ci	u16 this0c;		/* SetBypassGain: bypass gain when this28 is not set. */
3162306a36Sopenharmony_ci	u16 this0e;
3262306a36Sopenharmony_ci
3362306a36Sopenharmony_ci	s32 this10;		/* How many gains are used for each side (right or left). */
3462306a36Sopenharmony_ci	u16 this14_array[10];	/* SetLeftGainsTarget: Left (and right?) EQ gains  */
3562306a36Sopenharmony_ci	s32 this28;		/* flag related to EQ enabled or not. Gang flag ? */
3662306a36Sopenharmony_ci	s32 this54;		/* SetBypass */
3762306a36Sopenharmony_ci	s32 this58;
3862306a36Sopenharmony_ci	s32 this5c;
3962306a36Sopenharmony_ci	/*0x60 */ auxxEqCoeffSet_t coefset;
4062306a36Sopenharmony_ci	/* 50 u16 word each channel. */
4162306a36Sopenharmony_ci	u16 this130[20];	/* Left and Right gains */
4262306a36Sopenharmony_ci} eqlzr_t;
4362306a36Sopenharmony_ci
4462306a36Sopenharmony_ci#endif
45