Lines Matching refs:eq

68 	eqhw_t *eqhw = &(vortex->eq.this04);  in vortex_EqHw_SetLeftCoefs()
90 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetRightCoefs()
113 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetLeftStates()
130 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetRightStates()
176 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetBypassGain()
223 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetLeftGainsTarget()
233 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetRightGainsTarget()
243 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetLeftGainsCurrent()
253 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetRightGainsCurrent()
264 eqhw_t *eqhw = &(vortex->eq.this04);
279 eqhw_t *eqhw = &(vortex->eq.this04);
294 eqhw_t *eqhw = &(vortex->eq.this04);
309 eqhw_t *eqhw = &(vortex->eq.this04);
326 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetLevels()
350 eqhw_t *eqhw = &(vortex->eq.this04);
490 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_GetTenBandLevels()
507 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_GetLeftGain() local
509 if (eq->this28) { in vortex_Eqlzr_GetLeftGain()
510 *gain = eq->this130[index]; in vortex_Eqlzr_GetLeftGain()
518 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_SetLeftGain() local
520 if (eq->this28 == 0) in vortex_Eqlzr_SetLeftGain()
523 eq->this130[index] = gain; in vortex_Eqlzr_SetLeftGain()
524 if (eq->this54) in vortex_Eqlzr_SetLeftGain()
532 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_GetRightGain() local
534 if (eq->this28) { in vortex_Eqlzr_GetRightGain()
535 *gain = eq->this130[index + eq->this10]; in vortex_Eqlzr_GetRightGain()
543 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_SetRightGain() local
545 if (eq->this28 == 0) in vortex_Eqlzr_SetRightGain()
548 eq->this130[index + eq->this10] = gain; in vortex_Eqlzr_SetRightGain()
549 if (eq->this54) in vortex_Eqlzr_SetRightGain()
559 eqlzr_t *eq = &(vortex->eq);
562 if (eq->this10 == 0)
569 (vortex, si, &gains[si + eq->this10]))
573 while (eq->this10 > si) ;
580 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_SetAllBandsFromActiveCoeffSet() local
582 vortex_EqHw_SetLeftGainsTarget(vortex, eq->this130); in vortex_Eqlzr_SetAllBandsFromActiveCoeffSet()
583 vortex_EqHw_SetRightGainsTarget(vortex, &(eq->this130[eq->this10])); in vortex_Eqlzr_SetAllBandsFromActiveCoeffSet()
591 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_SetAllBands() local
594 if (((eq->this10) * 2 != count) || (eq->this28 == 0)) in vortex_Eqlzr_SetAllBands()
598 eq->this130[i] = gains[i]; in vortex_Eqlzr_SetAllBands()
601 if (eq->this54) in vortex_Eqlzr_SetAllBands()
609 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_SetA3dBypassGain() local
612 eq->this58 = a; in vortex_Eqlzr_SetA3dBypassGain()
613 eq->this5c = b; in vortex_Eqlzr_SetA3dBypassGain()
614 if (eq->this54) in vortex_Eqlzr_SetA3dBypassGain()
615 eax = eq->this0e; in vortex_Eqlzr_SetA3dBypassGain()
617 eax = eq->this0a; in vortex_Eqlzr_SetA3dBypassGain()
618 ebx = (eax * eq->this58) >> 0x10; in vortex_Eqlzr_SetA3dBypassGain()
619 eax = (eax * eq->this5c) >> 0x10; in vortex_Eqlzr_SetA3dBypassGain()
625 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_ProgramA3dBypassGain() local
628 if (eq->this54) in vortex_Eqlzr_ProgramA3dBypassGain()
629 eax = eq->this0e; in vortex_Eqlzr_ProgramA3dBypassGain()
631 eax = eq->this0a; in vortex_Eqlzr_ProgramA3dBypassGain()
632 ebx = (eax * eq->this58) >> 0x10; in vortex_Eqlzr_ProgramA3dBypassGain()
633 eax = (eax * eq->this5c) >> 0x10; in vortex_Eqlzr_ProgramA3dBypassGain()
645 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_SetBypass() local
647 if ((eq->this28) && (bp == 0)) { in vortex_Eqlzr_SetBypass()
650 vortex_EqHw_SetBypassGain(vortex, eq->this08, eq->this08); in vortex_Eqlzr_SetBypass()
653 vortex_EqHw_SetLeftGainsTarget(vortex, eq->this14_array); in vortex_Eqlzr_SetBypass()
654 vortex_EqHw_SetRightGainsTarget(vortex, eq->this14_array); in vortex_Eqlzr_SetBypass()
655 vortex_EqHw_SetBypassGain(vortex, eq->this0c, eq->this0c); in vortex_Eqlzr_SetBypass()
662 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_ReadAndSetActiveCoefSet() local
665 memcpy(&(eq->coefset), &asEqCoefsNormal, sizeof(auxxEqCoeffSet_t)); in vortex_Eqlzr_ReadAndSetActiveCoefSet()
667 vortex_Eqlzr_SetAllBands(vortex, eq_gains_normal, eq->this10 * 2); in vortex_Eqlzr_ReadAndSetActiveCoefSet()
672 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_GetAllPeaks() local
674 if (eq->this10 == 0) in vortex_Eqlzr_GetAllPeaks()
676 *count = eq->this10 * 2; in vortex_Eqlzr_GetAllPeaks()
684 eqlzr_t *eq = &(vortex->eq);
686 return (&(eq->coefset));
691 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_init() local
695 eq->this08 = 0; /* Bypass gain with EQ in use. */ in vortex_Eqlzr_init()
696 eq->this0a = 0x5999; in vortex_Eqlzr_init()
697 eq->this0c = 0x5999; /* Bypass gain with EQ disabled. */ in vortex_Eqlzr_init()
698 eq->this0e = 0x5999; in vortex_Eqlzr_init()
700 eq->this10 = 0xa; /* 10 eq frequency bands. */ in vortex_Eqlzr_init()
701 eq->this04.this04 = eq->this10; in vortex_Eqlzr_init()
702 eq->this28 = 0x1; /* if 1 => Allow read access to this130 (gains) */ in vortex_Eqlzr_init()
703 eq->this54 = 0x0; /* if 1 => Dont Allow access to hardware (gains) */ in vortex_Eqlzr_init()
704 eq->this58 = 0xffff; in vortex_Eqlzr_init()
705 eq->this5c = 0xffff; in vortex_Eqlzr_init()
708 memset(eq->this14_array, 0, sizeof(eq->this14_array)); in vortex_Eqlzr_init()
715 vortex_EqHw_Program10Band(vortex, &(eq->coefset)); in vortex_Eqlzr_init()
716 vortex_Eqlzr_SetBypass(vortex, eq->this54); in vortex_Eqlzr_init()
738 eqlzr_t *eq = &(vortex->eq); in snd_vortex_eqtoggle_get() local
741 ucontrol->value.integer.value[0] = eq->this54 ? 0 : 1; in snd_vortex_eqtoggle_get()
751 eqlzr_t *eq = &(vortex->eq); in snd_vortex_eqtoggle_put() local
754 eq->this54 = ucontrol->value.integer.value[0] ? 0 : 1; in snd_vortex_eqtoggle_put()
755 vortex_Eqlzr_SetBypass(vortex, eq->this54); in snd_vortex_eqtoggle_put()