au88x0_xtalk.h (1da177e4c3f41524e886b7f1b8a0c1fc7321cac2) au88x0_xtalk.h (97c67b65cbdfd19887450ae1b80ddbb54de9559d)
1/***************************************************************************
2 * au88x0_cxtalk.h
3 *
4 * Wed Nov 19 19:07:17 2003
5 * Copyright 2003 mjander
6 * mjander@users.sourceforge.org
7 ****************************************************************************/
8

--- 25 unchanged lines hidden (view full) ---

34#define XTGAINS_SZ 10
35#define XTINST_SZ 4
36
37#define XT_HEADPHONE 1
38#define XT_SPEAKER0 2
39#define XT_SPEAKER1 3
40#define XT_DIAMOND 4
41
1/***************************************************************************
2 * au88x0_cxtalk.h
3 *
4 * Wed Nov 19 19:07:17 2003
5 * Copyright 2003 mjander
6 * mjander@users.sourceforge.org
7 ****************************************************************************/
8

--- 25 unchanged lines hidden (view full) ---

34#define XTGAINS_SZ 10
35#define XTINST_SZ 4
36
37#define XT_HEADPHONE 1
38#define XT_SPEAKER0 2
39#define XT_SPEAKER1 3
40#define XT_DIAMOND 4
41
42typedef long xtalk_dline_t[XTDLINE_SZ];
43typedef short xtalk_gains_t[XTGAINS_SZ];
44typedef short xtalk_instate_t[XTINST_SZ];
45typedef short xtalk_coefs_t[5][5];
46typedef short xtalk_state_t[5][4];
42typedef u32 xtalk_dline_t[XTDLINE_SZ];
43typedef u16 xtalk_gains_t[XTGAINS_SZ];
44typedef u16 xtalk_instate_t[XTINST_SZ];
45typedef u16 xtalk_coefs_t[5][5];
46typedef u16 xtalk_state_t[5][4];
47
48static void vortex_XtalkHw_SetGains(vortex_t * vortex,
49 xtalk_gains_t const gains);
50static void vortex_XtalkHw_SetGainsAllChan(vortex_t * vortex);
47
48static void vortex_XtalkHw_SetGains(vortex_t * vortex,
49 xtalk_gains_t const gains);
50static void vortex_XtalkHw_SetGainsAllChan(vortex_t * vortex);
51static void vortex_XtalkHw_SetSampleRate(vortex_t * vortex, int sr);
51static void vortex_XtalkHw_SetSampleRate(vortex_t * vortex, u32 sr);
52static void vortex_XtalkHw_ProgramPipe(vortex_t * vortex);
53static void vortex_XtalkHw_ProgramPipe(vortex_t * vortex);
54static void vortex_XtalkHw_ProgramXtalkWide(vortex_t * vortex);
55static void vortex_XtalkHw_ProgramXtalkNarrow(vortex_t * vortex);
56static void vortex_XtalkHw_ProgramDiamondXtalk(vortex_t * vortex);
57static void vortex_XtalkHw_Enable(vortex_t * vortex);
58static void vortex_XtalkHw_Disable(vortex_t * vortex);
59static void vortex_XtalkHw_init(vortex_t * vortex);
60
61#endif /* _AU88X0_CXTALK_H */
52static void vortex_XtalkHw_ProgramPipe(vortex_t * vortex);
53static void vortex_XtalkHw_ProgramPipe(vortex_t * vortex);
54static void vortex_XtalkHw_ProgramXtalkWide(vortex_t * vortex);
55static void vortex_XtalkHw_ProgramXtalkNarrow(vortex_t * vortex);
56static void vortex_XtalkHw_ProgramDiamondXtalk(vortex_t * vortex);
57static void vortex_XtalkHw_Enable(vortex_t * vortex);
58static void vortex_XtalkHw_Disable(vortex_t * vortex);
59static void vortex_XtalkHw_init(vortex_t * vortex);
60
61#endif /* _AU88X0_CXTALK_H */