29 static short const sXtalkWideKLeftEq = 0x269C;
30 static short const sXtalkWideKRightEq = 0x269C;
31 static short const sXtalkWideKLeftXt = 0xF25E;
32 static short const sXtalkWideKRightXt = 0xF25E;
33 static short const sXtalkWideShiftLeftEq = 1;
34 static short const sXtalkWideShiftRightEq = 1;
35 static short const sXtalkWideShiftLeftXt = 0;
36 static short const sXtalkWideShiftRightXt = 0;
37 static unsigned short const wXtalkWideLeftDelay = 0xd;
38 static unsigned short const wXtalkWideRightDelay = 0xd;
39 static short const sXtalkNarrowKLeftEq = 0x468D;
40 static short const sXtalkNarrowKRightEq = 0x468D;
41 static short const sXtalkNarrowKLeftXt = 0xF82E;
42 static short const sXtalkNarrowKRightXt = 0xF82E;
43 static short const sXtalkNarrowShiftLeftEq = 0x3;
44 static short const sXtalkNarrowShiftRightEq = 0x3;
45 static short const sXtalkNarrowShiftLeftXt = 0;
46 static short const sXtalkNarrowShiftRightXt = 0;
47 static unsigned short const wXtalkNarrowLeftDelay = 0x7;
48 static unsigned short const wXtalkNarrowRightDelay = 0x7;
51 0x4000, 0x4000, 0x4000, 0x4000, 0x4000,
52 0x4000, 0x4000, 0x4000, 0x4000, 0x4000
56 0x7fff, 0x8000, 0x0000, 0x0000, 0x0001,
57 0xffff, 0x4000, 0xc000, 0x0002, 0xfffe
67 0x7FFF, 0x7FFF, 0x7FFF, 0x7FFF, 0,
68 0x7FFF, 0x7FFF, 0x7FFF, 0x7FFF, 0
72 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
76 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
77 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
80 0x0000fc18, 0xfff03e8, 0x000186a0, 0xfffe7960, 1, 0xffffffff, 0, 0,
81 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
82 0, 0, 0, 0, 0, 0, 0, 0
90 0x0080, 0xff80, 0x0001, 0xffff
101 static short const sDiamondKLeftEq = 0x401d;
102 static short const sDiamondKRightEq = 0x401d;
103 static short const sDiamondKLeftXt = 0xF90E;
104 static short const sDiamondKRightXt = 0xF90E;
105 static short const sDiamondShiftLeftEq = 1;
106 static short const sDiamondShiftRightEq = 1;
107 static short const sDiamondShiftLeftXt = 0;
108 static short const sDiamondShiftRightXt = 0;
109 static unsigned short const wDiamondLeftDelay = 0xb;
110 static unsigned short const wDiamondRightDelay = 0xb;
113 {0xEC4C, 0xDCE9, 0xFDC2, 0xFEEC, 0},
114 {0x5F60, 0xCBCB, 0xFC26, 0x0305, 0},
115 {0x340B, 0xe8f5, 0x236c, 0xe40d, 0},
116 {0x76d5, 0xc78d, 0x05ac, 0xfa5b, 0},
117 {0x7F04, 0xC0FA, 0x0263, 0xFDA2, 0}
120 {0xEC4C, 0xDCE9, 0xFDC2, 0xFEEC, 0},
121 {0x5F60, 0xCBCB, 0xFC26, 0x0305, 0},
122 {0x340B, 0xe8f5, 0x236c, 0xe40d, 0},
123 {0x76d5, 0xc78d, 0x05ac, 0xfa5b, 0},
124 {0x7F04, 0xC0FA, 0x0263, 0xFDA2, 0}
127 {0x55c6, 0xc97b, 0x005b, 0x0047, 0},
128 {0x6a60, 0xca20, 0xffc6, 0x0040, 0},
129 {0x6411, 0xd711, 0xfca1, 0x0190, 0},
130 {0x77dc, 0xc79e, 0xffb8, 0x000a, 0},
134 {0x55c6, 0xc97b, 0x005b, 0x0047, 0},
135 {0x6a60, 0xca20, 0xffc6, 0x0040, 0},
136 {0x6411, 0xd711, 0xfca1, 0x0190, 0},
137 {0x77dc, 0xc79e, 0xffb8, 0x000a, 0},
141 {0x50B5, 0xD07C, 0x026D, 0xFD21, 0},
142 {0x460F, 0xE44F, 0xF75E, 0xEFA6, 0},
143 {0x556D, 0xDCAB, 0x2098, 0xF0F2, 0},
144 {0x7E03, 0xC1F0, 0x007D, 0xFF89, 0},
145 {0x383E, 0xFD9D, 0xB278, 0x4547, 0}
149 {0x50B5, 0xD07C, 0x026D, 0xFD21, 0},
150 {0x460F, 0xE44F, 0xF75E, 0xEFA6, 0},
151 {0x556D, 0xDCAB, 0x2098, 0xF0F2, 0},
152 {0x7E03, 0xC1F0, 0x007D, 0xFF89, 0},
153 {0x383E, 0xFD9D, 0xB278, 0x4547, 0}
157 {0x3CB2, 0xDF49, 0xF6EA, 0x095B, 0},
158 {0x6777, 0xC915, 0xFEAF, 0x00B1, 0},
159 {0x7762, 0xC7D9, 0x025B, 0xFDA6, 0},
160 {0x6B7A, 0xD2AA, 0xF2FB, 0x0B64, 0},
165 {0x3CB2, 0xDF49, 0xF6EA, 0x095B, 0},
166 {0x6777, 0xC915, 0xFEAF, 0x00B1, 0},
167 {0x7762, 0xC7D9, 0x025B, 0xFDA6, 0},
168 {0x6B7A, 0xD2AA, 0xF2FB, 0x0B64, 0},
181 {0, 0, 0x0FA0, 0, 0},
182 {0, 0, 0x0FA0, 0, 0},
183 {0, 0, 0x0FA0, 0, 0},
184 {0, 0, 0x0FA0, 0, 0},
185 {0, 0, 0x1180, 0, 0},
188 {0, 0, 0xF380, 0, 0},
189 {0, 0, 0xF380, 0, 0},
190 {0, 0, 0xF380, 0, 0},
191 {0, 0, 0xF380, 0, 0},
196 {0, 0, 0xF380, 0x8000, 0x6D60},
204 {0xC000, 0x2000, 0x4000, 0, 0},
212 {0x7FFF, 0x0004, 0xFFFC, 0},
213 {0xFE00, 0x0008, 0xFFF8, 0x4000},
214 {0x0200, 0x0010, 0xFFF0, 0xC000},
215 {0x8000, 0x0020, 0xFFE0, 0},
220 {0x0F1E, 0x2D05, 0xF8E3, 0x07C8, 0},
221 {0x45E2, 0xCA51, 0x0448, 0xFCE7, 0},
222 {0xA93E, 0xDBD5, 0x022C, 0x028A, 0},
228 {0x0F1E, 0x2D05, 0xF8E3, 0x07C8, 0},
229 {0x45E2, 0xCA51, 0x0448, 0xFCE7, 0},
230 {0xA93E, 0xDBD5, 0x022C, 0x028A, 0},
236 {0x3B50, 0xFE08, 0xF959, 0x0060, 0},
237 {0x9FCB, 0xD8F1, 0x00A2, 0x003A, 0},
244 {0x3B50, 0xFE08, 0xF959, 0x0060, 0},
245 {0x9FCB, 0xD8F1, 0x00A2, 0x003A, 0},
254 vortex_XtalkHw_SetLeftEQ(
vortex_t * vortex,
short arg_0,
short arg_4,
259 for (i = 0; i < 5; i++) {
260 hwwrite(vortex->
mmio, 0x24200 + i * 0x24, coefs[i][0]);
261 hwwrite(vortex->
mmio, 0x24204 + i * 0x24, coefs[i][1]);
262 hwwrite(vortex->
mmio, 0x24208 + i * 0x24, coefs[i][2]);
263 hwwrite(vortex->
mmio, 0x2420c + i * 0x24, coefs[i][3]);
264 hwwrite(vortex->
mmio, 0x24210 + i * 0x24, coefs[i][4]);
271 vortex_XtalkHw_SetRightEQ(
vortex_t * vortex,
short arg_0,
short arg_4,
276 for (i = 0; i < 5; i++) {
277 hwwrite(vortex->
mmio, 0x242b4 + i * 0x24, coefs[i][0]);
278 hwwrite(vortex->
mmio, 0x242b8 + i * 0x24, coefs[i][1]);
279 hwwrite(vortex->
mmio, 0x242bc + i * 0x24, coefs[i][2]);
280 hwwrite(vortex->
mmio, 0x242c0 + i * 0x24, coefs[i][3]);
281 hwwrite(vortex->
mmio, 0x242c4 + i * 0x24, coefs[i][4]);
288 vortex_XtalkHw_SetLeftXT(
vortex_t * vortex,
short arg_0,
short arg_4,
293 for (i = 0; i < 5; i++) {
294 hwwrite(vortex->
mmio, 0x24368 + i * 0x24, coefs[i][0]);
295 hwwrite(vortex->
mmio, 0x2436c + i * 0x24, coefs[i][1]);
296 hwwrite(vortex->
mmio, 0x24370 + i * 0x24, coefs[i][2]);
297 hwwrite(vortex->
mmio, 0x24374 + i * 0x24, coefs[i][3]);
298 hwwrite(vortex->
mmio, 0x24378 + i * 0x24, coefs[i][4]);
305 vortex_XtalkHw_SetRightXT(
vortex_t * vortex,
short arg_0,
short arg_4,
310 for (i = 0; i < 5; i++) {
311 hwwrite(vortex->
mmio, 0x2441C + i * 0x24, coefs[i][0]);
312 hwwrite(vortex->
mmio, 0x24420 + i * 0x24, coefs[i][1]);
313 hwwrite(vortex->
mmio, 0x24424 + i * 0x24, coefs[i][2]);
314 hwwrite(vortex->
mmio, 0x24428 + i * 0x24, coefs[i][3]);
315 hwwrite(vortex->
mmio, 0x2442C + i * 0x24, coefs[i][4]);
322 vortex_XtalkHw_SetLeftEQStates(
vortex_t * vortex,
328 for (i = 0; i < 5; i++) {
329 hwwrite(vortex->
mmio, 0x24214 + i * 0x24, coefs[i][0]);
330 hwwrite(vortex->
mmio, 0x24218 + i * 0x24, coefs[i][1]);
331 hwwrite(vortex->
mmio, 0x2421C + i * 0x24, coefs[i][2]);
332 hwwrite(vortex->
mmio, 0x24220 + i * 0x24, coefs[i][3]);
341 vortex_XtalkHw_SetRightEQStates(
vortex_t * vortex,
347 for (i = 0; i < 5; i++) {
348 hwwrite(vortex->
mmio, 0x242C8 + i * 0x24, coefs[i][0]);
349 hwwrite(vortex->
mmio, 0x242CC + i * 0x24, coefs[i][1]);
350 hwwrite(vortex->
mmio, 0x242D0 + i * 0x24, coefs[i][2]);
351 hwwrite(vortex->
mmio, 0x244D4 + i * 0x24, coefs[i][3]);
360 vortex_XtalkHw_SetLeftXTStates(
vortex_t * vortex,
366 for (i = 0; i < 5; i++) {
367 hwwrite(vortex->
mmio, 0x2437C + i * 0x24, coefs[i][0]);
368 hwwrite(vortex->
mmio, 0x24380 + i * 0x24, coefs[i][1]);
369 hwwrite(vortex->
mmio, 0x24384 + i * 0x24, coefs[i][2]);
370 hwwrite(vortex->
mmio, 0x24388 + i * 0x24, coefs[i][3]);
379 vortex_XtalkHw_SetRightXTStates(
vortex_t * vortex,
385 for (i = 0; i < 5; i++) {
386 hwwrite(vortex->
mmio, 0x24430 + i * 0x24, coefs[i][0]);
387 hwwrite(vortex->
mmio, 0x24434 + i * 0x24, coefs[i][1]);
388 hwwrite(vortex->
mmio, 0x24438 + i * 0x24, coefs[i][2]);
389 hwwrite(vortex->
mmio, 0x2443C + i * 0x24, coefs[i][3]);
399 vortex_XtalkHw_GetLeftEQ(
vortex_t * vortex,
short *arg_0,
short *arg_4,
404 for (i = 0; i < 5; i++) {
405 coefs[
i][0] =
hwread(vortex->
mmio, 0x24200 + i * 0x24);
406 coefs[
i][1] =
hwread(vortex->
mmio, 0x24204 + i * 0x24);
407 coefs[
i][2] =
hwread(vortex->
mmio, 0x24208 + i * 0x24);
408 coefs[
i][3] =
hwread(vortex->
mmio, 0x2420c + i * 0x24);
409 coefs[
i][4] =
hwread(vortex->
mmio, 0x24210 + i * 0x24);
411 *arg_0 =
hwread(vortex->
mmio, 0x24538) & 0xffff;
412 *arg_4 =
hwread(vortex->
mmio, 0x2453c) & 0xffff;
416 vortex_XtalkHw_GetRightEQ(
vortex_t * vortex,
short *arg_0,
short *arg_4,
421 for (i = 0; i < 5; i++) {
422 coefs[
i][0] =
hwread(vortex->
mmio, 0x242b4 + i * 0x24);
423 coefs[
i][1] =
hwread(vortex->
mmio, 0x242b8 + i * 0x24);
424 coefs[
i][2] =
hwread(vortex->
mmio, 0x242bc + i * 0x24);
425 coefs[
i][3] =
hwread(vortex->
mmio, 0x242c0 + i * 0x24);
426 coefs[
i][4] =
hwread(vortex->
mmio, 0x242c4 + i * 0x24);
428 *arg_0 =
hwread(vortex->
mmio, 0x24540) & 0xffff;
429 *arg_4 =
hwread(vortex->
mmio, 0x24544) & 0xffff;
433 vortex_XtalkHw_GetLeftXT(
vortex_t * vortex,
short *arg_0,
short *arg_4,
438 for (i = 0; i < 5; i++) {
439 coefs[
i][0] =
hwread(vortex->
mmio, 0x24368 + i * 0x24);
440 coefs[
i][1] =
hwread(vortex->
mmio, 0x2436C + i * 0x24);
441 coefs[
i][2] =
hwread(vortex->
mmio, 0x24370 + i * 0x24);
442 coefs[
i][3] =
hwread(vortex->
mmio, 0x24374 + i * 0x24);
443 coefs[
i][4] =
hwread(vortex->
mmio, 0x24378 + i * 0x24);
445 *arg_0 =
hwread(vortex->
mmio, 0x24548) & 0xffff;
446 *arg_4 =
hwread(vortex->
mmio, 0x2454C) & 0xffff;
450 vortex_XtalkHw_GetRightXT(
vortex_t * vortex,
short *arg_0,
short *arg_4,
455 for (i = 0; i < 5; i++) {
456 coefs[
i][0] =
hwread(vortex->
mmio, 0x2441C + i * 0x24);
457 coefs[
i][1] =
hwread(vortex->
mmio, 0x24420 + i * 0x24);
458 coefs[
i][2] =
hwread(vortex->
mmio, 0x24424 + i * 0x24);
459 coefs[
i][3] =
hwread(vortex->
mmio, 0x24428 + i * 0x24);
460 coefs[
i][4] =
hwread(vortex->
mmio, 0x2442C + i * 0x24);
462 *arg_0 =
hwread(vortex->
mmio, 0x24550) & 0xffff;
463 *arg_4 =
hwread(vortex->
mmio, 0x24554) & 0xffff;
472 for (i = 0; i < 5; i++) {
473 coefs[
i][0] =
hwread(vortex->
mmio, 0x24214 + i * 0x24);
474 coefs[
i][1] =
hwread(vortex->
mmio, 0x24218 + i * 0x24);
475 coefs[
i][2] =
hwread(vortex->
mmio, 0x2421C + i * 0x24);
476 coefs[
i][3] =
hwread(vortex->
mmio, 0x24220 + i * 0x24);
490 for (i = 0; i < 5; i++) {
491 coefs[
i][0] =
hwread(vortex->
mmio, 0x242C8 + i * 0x24);
492 coefs[
i][1] =
hwread(vortex->
mmio, 0x242CC + i * 0x24);
493 coefs[
i][2] =
hwread(vortex->
mmio, 0x242D0 + i * 0x24);
494 coefs[
i][3] =
hwread(vortex->
mmio, 0x242D4 + i * 0x24);
508 for (i = 0; i < 5; i++) {
509 coefs[
i][0] =
hwread(vortex->
mmio, 0x2437C + i * 0x24);
510 coefs[
i][1] =
hwread(vortex->
mmio, 0x24380 + i * 0x24);
511 coefs[
i][2] =
hwread(vortex->
mmio, 0x24384 + i * 0x24);
512 coefs[
i][3] =
hwread(vortex->
mmio, 0x24388 + i * 0x24);
526 for (i = 0; i < 5; i++) {
527 coefs[
i][0] =
hwread(vortex->
mmio, 0x24430 + i * 0x24);
528 coefs[
i][1] =
hwread(vortex->
mmio, 0x24434 + i * 0x24);
529 coefs[
i][2] =
hwread(vortex->
mmio, 0x24438 + i * 0x24);
530 coefs[
i][3] =
hwread(vortex->
mmio, 0x2443C + i * 0x24);
547 hwwrite(vortex->
mmio, 0x244D0 + (i * 4), gains[i]);
552 vortex_XtalkHw_SetGainsAllChan(
vortex_t * vortex)
554 vortex_XtalkHw_SetGains(vortex, asXtalkGainsAllChan);
563 gains[i] =
hwread(vortex->
mmio, 0x244D0 + i * 4);
570 vortex_XtalkHw_SetDelay(
vortex_t * vortex,
unsigned short right,
577 esp0 = (esp0 & 0xffffE0ff) | ((right & 0x1F) << 8);
578 esp0 = (esp0 & 0xfffc1fff) | ((left & 0x1F) << 0xd);
588 for (i = 0; i < 0x20; i++) {
589 hwwrite(vortex->
mmio, 0x24000 + (i << 2), dline[i] & 0xffff);
590 hwwrite(vortex->
mmio, 0x24080 + (i << 2), dline[i] >> 0x10);
599 for (i = 0; i < 0x20; i++) {
600 hwwrite(vortex->
mmio, 0x24100 + (i << 2), dline[i] & 0xffff);
601 hwwrite(vortex->
mmio, 0x24180 + (i << 2), dline[i] >> 0x10);
607 vortex_XtalkHw_GetDelay(
vortex_t * vortex,
unsigned short *right,
608 unsigned short *left)
613 *right = (esp0 >> 8) & 0x1f;
614 *left = (esp0 >> 0xd) & 0x1f;
621 for (i = 0; i < 0x20; i++) {
623 (
hwread(vortex->
mmio, 0x24000 + (i << 2)) & 0xffff) |
624 (
hwread(vortex->
mmio, 0x24080 + (i << 2)) << 0x10);
632 for (i = 0; i < 0x20; i++) {
634 (
hwread(vortex->
mmio, 0x24100 + (i << 2)) & 0xffff) |
635 (
hwread(vortex->
mmio, 0x24180 + (i << 2)) << 0x10);
652 static void vortex_XtalkHw_SetSampleRate(
vortex_t * vortex,
u32 sr)
656 temp = (
hwread(vortex->
mmio, 0x24660) & 0x1FFFFFFF) | 0xC0000000;
657 temp = (temp & 0xffffff07) | ((sr & 0x1f) << 3);
662 static void vortex_XtalkHw_GetSampleRate(
vortex_t * vortex,
u32 *sr)
664 *sr = (
hwread(vortex->
mmio, 0x24660) >> 3) & 0x1f;
668 static void vortex_XtalkHw_Enable(
vortex_t * vortex)
672 temp = (
hwread(vortex->
mmio, 0x24660) & 0x1FFFFFFF) | 0xC0000000;
678 static void vortex_XtalkHw_Disable(
vortex_t * vortex)
682 temp = (
hwread(vortex->
mmio, 0x24660) & 0x1FFFFFFF) | 0xC0000000;
688 static void vortex_XtalkHw_ZeroIO(
vortex_t * vortex)
692 for (i = 0; i < 20; i++)
694 for (i = 0; i < 4; i++)
698 static void vortex_XtalkHw_ZeroState(
vortex_t * vortex)
700 vortex_XtalkHw_ZeroIO(vortex);
702 vortex_XtalkHw_SetLeftEQ(vortex, 0, 0, asXtalkCoefsZeros);
703 vortex_XtalkHw_SetRightEQ(vortex, 0, 0, asXtalkCoefsZeros);
705 vortex_XtalkHw_SetLeftXT(vortex, 0, 0, asXtalkCoefsZeros);
706 vortex_XtalkHw_SetRightXT(vortex, 0, 0, asXtalkCoefsZeros);
708 vortex_XtalkHw_SetGains(vortex, asXtalkGainsZeros);
710 vortex_XtalkHw_SetDelay(vortex, 0, 0);
712 vortex_XtalkHw_SetLeftDline(vortex, alXtalkDlineZeros);
713 vortex_XtalkHw_SetRightDline(vortex, alXtalkDlineZeros);
714 vortex_XtalkHw_SetLeftDline(vortex, alXtalkDlineZeros);
715 vortex_XtalkHw_SetRightDline(vortex, alXtalkDlineZeros);
717 vortex_XtalkHw_SetLeftEQStates(vortex, asXtalkInStateZeros,
718 asXtalkOutStateZeros);
719 vortex_XtalkHw_SetRightEQStates(vortex, asXtalkInStateZeros,
720 asXtalkOutStateZeros);
721 vortex_XtalkHw_SetLeftXTStates(vortex, asXtalkInStateZeros,
722 asXtalkOutStateZeros);
723 vortex_XtalkHw_SetRightXTStates(vortex, asXtalkInStateZeros,
724 asXtalkOutStateZeros);
727 static void vortex_XtalkHw_ProgramPipe(
vortex_t * vortex)
730 vortex_XtalkHw_SetLeftEQ(vortex, 0, 1, asXtalkCoefsPipe);
731 vortex_XtalkHw_SetRightEQ(vortex, 0, 1, asXtalkCoefsPipe);
732 vortex_XtalkHw_SetLeftXT(vortex, 0, 0, asXtalkCoefsZeros);
733 vortex_XtalkHw_SetRightXT(vortex, 0, 0, asXtalkCoefsZeros);
735 vortex_XtalkHw_SetDelay(vortex, 0, 0);
738 static void vortex_XtalkHw_ProgramXtalkWide(
vortex_t * vortex)
741 vortex_XtalkHw_SetLeftEQ(vortex, sXtalkWideKLeftEq,
742 sXtalkWideShiftLeftEq, asXtalkWideCoefsLeftEq);
743 vortex_XtalkHw_SetRightEQ(vortex, sXtalkWideKRightEq,
744 sXtalkWideShiftRightEq,
745 asXtalkWideCoefsRightEq);
746 vortex_XtalkHw_SetLeftXT(vortex, sXtalkWideKLeftXt,
747 sXtalkWideShiftLeftXt, asXtalkWideCoefsLeftXt);
748 vortex_XtalkHw_SetRightXT(vortex, sXtalkWideKLeftXt,
749 sXtalkWideShiftLeftXt,
750 asXtalkWideCoefsLeftXt);
752 vortex_XtalkHw_SetDelay(vortex, wXtalkWideRightDelay, wXtalkWideLeftDelay);
755 static void vortex_XtalkHw_ProgramXtalkNarrow(
vortex_t * vortex)
758 vortex_XtalkHw_SetLeftEQ(vortex, sXtalkNarrowKLeftEq,
759 sXtalkNarrowShiftLeftEq,
760 asXtalkNarrowCoefsLeftEq);
761 vortex_XtalkHw_SetRightEQ(vortex, sXtalkNarrowKRightEq,
762 sXtalkNarrowShiftRightEq,
763 asXtalkNarrowCoefsRightEq);
764 vortex_XtalkHw_SetLeftXT(vortex, sXtalkNarrowKLeftXt,
765 sXtalkNarrowShiftLeftXt,
766 asXtalkNarrowCoefsLeftXt);
767 vortex_XtalkHw_SetRightXT(vortex, sXtalkNarrowKLeftXt,
768 sXtalkNarrowShiftLeftXt,
769 asXtalkNarrowCoefsLeftXt);
771 vortex_XtalkHw_SetDelay(vortex, wXtalkNarrowRightDelay, wXtalkNarrowLeftDelay);
774 static void vortex_XtalkHw_ProgramDiamondXtalk(
vortex_t * vortex)
778 vortex_XtalkHw_SetLeftEQ(vortex, sDiamondKLeftEq,
779 sDiamondShiftLeftEq, asDiamondCoefsLeftEq);
780 vortex_XtalkHw_SetRightEQ(vortex, sDiamondKRightEq,
781 sDiamondShiftRightEq, asDiamondCoefsRightEq);
782 vortex_XtalkHw_SetLeftXT(vortex, sDiamondKLeftXt,
783 sDiamondShiftLeftXt, asDiamondCoefsLeftXt);
784 vortex_XtalkHw_SetRightXT(vortex, sDiamondKLeftXt,
785 sDiamondShiftLeftXt, asDiamondCoefsLeftXt);
787 vortex_XtalkHw_SetDelay(vortex, wDiamondRightDelay, wDiamondLeftDelay);
790 static void vortex_XtalkHw_init(
vortex_t * vortex)
792 vortex_XtalkHw_ZeroState(vortex);