Lines Matching refs:eq

56 	eqhw_t *eqhw = &(vortex->eq.this04);  in vortex_EqHw_SetLeftCoefs()
78 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetRightCoefs()
101 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetLeftStates()
118 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetRightStates()
164 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetBypassGain()
211 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetLeftGainsTarget()
221 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetRightGainsTarget()
231 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetLeftGainsCurrent()
241 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetRightGainsCurrent()
252 eqhw_t *eqhw = &(vortex->eq.this04);
267 eqhw_t *eqhw = &(vortex->eq.this04);
282 eqhw_t *eqhw = &(vortex->eq.this04);
297 eqhw_t *eqhw = &(vortex->eq.this04);
314 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetLevels()
338 eqhw_t *eqhw = &(vortex->eq.this04);
478 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_GetTenBandLevels()
495 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_GetLeftGain() local
497 if (eq->this28) { in vortex_Eqlzr_GetLeftGain()
498 *gain = eq->this130[index]; in vortex_Eqlzr_GetLeftGain()
506 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_SetLeftGain() local
508 if (eq->this28 == 0) in vortex_Eqlzr_SetLeftGain()
511 eq->this130[index] = gain; in vortex_Eqlzr_SetLeftGain()
512 if (eq->this54) in vortex_Eqlzr_SetLeftGain()
520 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_GetRightGain() local
522 if (eq->this28) { in vortex_Eqlzr_GetRightGain()
523 *gain = eq->this130[index + eq->this10]; in vortex_Eqlzr_GetRightGain()
531 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_SetRightGain() local
533 if (eq->this28 == 0) in vortex_Eqlzr_SetRightGain()
536 eq->this130[index + eq->this10] = gain; in vortex_Eqlzr_SetRightGain()
537 if (eq->this54) in vortex_Eqlzr_SetRightGain()
547 eqlzr_t *eq = &(vortex->eq);
550 if (eq->this10 == 0)
557 (vortex, si, &gains[si + eq->this10]))
561 while (eq->this10 > si) ;
568 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_SetAllBandsFromActiveCoeffSet() local
570 vortex_EqHw_SetLeftGainsTarget(vortex, eq->this130); in vortex_Eqlzr_SetAllBandsFromActiveCoeffSet()
571 vortex_EqHw_SetRightGainsTarget(vortex, &(eq->this130[eq->this10])); in vortex_Eqlzr_SetAllBandsFromActiveCoeffSet()
579 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_SetAllBands() local
582 if (((eq->this10) * 2 != count) || (eq->this28 == 0)) in vortex_Eqlzr_SetAllBands()
586 eq->this130[i] = gains[i]; in vortex_Eqlzr_SetAllBands()
589 if (eq->this54) in vortex_Eqlzr_SetAllBands()
597 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_SetA3dBypassGain() local
600 eq->this58 = a; in vortex_Eqlzr_SetA3dBypassGain()
601 eq->this5c = b; in vortex_Eqlzr_SetA3dBypassGain()
602 if (eq->this54) in vortex_Eqlzr_SetA3dBypassGain()
603 eax = eq->this0e; in vortex_Eqlzr_SetA3dBypassGain()
605 eax = eq->this0a; in vortex_Eqlzr_SetA3dBypassGain()
606 ebx = (eax * eq->this58) >> 0x10; in vortex_Eqlzr_SetA3dBypassGain()
607 eax = (eax * eq->this5c) >> 0x10; in vortex_Eqlzr_SetA3dBypassGain()
613 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_ProgramA3dBypassGain() local
616 if (eq->this54) in vortex_Eqlzr_ProgramA3dBypassGain()
617 eax = eq->this0e; in vortex_Eqlzr_ProgramA3dBypassGain()
619 eax = eq->this0a; in vortex_Eqlzr_ProgramA3dBypassGain()
620 ebx = (eax * eq->this58) >> 0x10; in vortex_Eqlzr_ProgramA3dBypassGain()
621 eax = (eax * eq->this5c) >> 0x10; in vortex_Eqlzr_ProgramA3dBypassGain()
633 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_SetBypass() local
635 if ((eq->this28) && (bp == 0)) { in vortex_Eqlzr_SetBypass()
638 vortex_EqHw_SetBypassGain(vortex, eq->this08, eq->this08); in vortex_Eqlzr_SetBypass()
641 vortex_EqHw_SetLeftGainsTarget(vortex, eq->this14_array); in vortex_Eqlzr_SetBypass()
642 vortex_EqHw_SetRightGainsTarget(vortex, eq->this14_array); in vortex_Eqlzr_SetBypass()
643 vortex_EqHw_SetBypassGain(vortex, eq->this0c, eq->this0c); in vortex_Eqlzr_SetBypass()
650 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_ReadAndSetActiveCoefSet() local
653 memcpy(&(eq->coefset), &asEqCoefsNormal, sizeof(auxxEqCoeffSet_t)); in vortex_Eqlzr_ReadAndSetActiveCoefSet()
655 vortex_Eqlzr_SetAllBands(vortex, eq_gains_normal, eq->this10 * 2); in vortex_Eqlzr_ReadAndSetActiveCoefSet()
660 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_GetAllPeaks() local
662 if (eq->this10 == 0) in vortex_Eqlzr_GetAllPeaks()
664 *count = eq->this10 * 2; in vortex_Eqlzr_GetAllPeaks()
672 eqlzr_t *eq = &(vortex->eq);
674 return (&(eq->coefset));
679 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_init() local
683 eq->this08 = 0; /* Bypass gain with EQ in use. */ in vortex_Eqlzr_init()
684 eq->this0a = 0x5999; in vortex_Eqlzr_init()
685 eq->this0c = 0x5999; /* Bypass gain with EQ disabled. */ in vortex_Eqlzr_init()
686 eq->this0e = 0x5999; in vortex_Eqlzr_init()
688 eq->this10 = 0xa; /* 10 eq frequency bands. */ in vortex_Eqlzr_init()
689 eq->this04.this04 = eq->this10; in vortex_Eqlzr_init()
690 eq->this28 = 0x1; /* if 1 => Allow read access to this130 (gains) */ in vortex_Eqlzr_init()
691 eq->this54 = 0x0; /* if 1 => Dont Allow access to hardware (gains) */ in vortex_Eqlzr_init()
692 eq->this58 = 0xffff; in vortex_Eqlzr_init()
693 eq->this5c = 0xffff; in vortex_Eqlzr_init()
696 memset(eq->this14_array, 0, sizeof(eq->this14_array)); in vortex_Eqlzr_init()
703 vortex_EqHw_Program10Band(vortex, &(eq->coefset)); in vortex_Eqlzr_init()
704 vortex_Eqlzr_SetBypass(vortex, eq->this54); in vortex_Eqlzr_init()
726 eqlzr_t *eq = &(vortex->eq); in snd_vortex_eqtoggle_get() local
729 ucontrol->value.integer.value[0] = eq->this54 ? 0 : 1; in snd_vortex_eqtoggle_get()
739 eqlzr_t *eq = &(vortex->eq); in snd_vortex_eqtoggle_put() local
742 eq->this54 = ucontrol->value.integer.value[0] ? 0 : 1; in snd_vortex_eqtoggle_put()
743 vortex_Eqlzr_SetBypass(vortex, eq->this54); in snd_vortex_eqtoggle_put()