Lines Matching refs:peaks
218 static void vortex_EqHw_SetLevels(vortex_t * vortex, u16 peaks[])
223 /* set left peaks */
225 hwwrite(vortex->mmio, 0x2b024 + i * VORTEX_BAND_COEFF_SIZE, peaks[i]);
228 hwwrite(vortex->mmio, 0x2b3cc, peaks[eqhw->this04]);
229 hwwrite(vortex->mmio, 0x2b3d8, peaks[eqhw->this04 + 1]);
231 /* set right peaks */
234 peaks[i + (eqhw->this04 + 2)]);
237 hwwrite(vortex->mmio, 0x2b3e4, peaks[2 + (eqhw->this04 * 2)]);
238 hwwrite(vortex->mmio, 0x2b3f0, peaks[3 + (eqhw->this04 * 2)]);
337 /* Read all EQ peaks. (think VU meter) */
338 static void vortex_EqHw_GetTenBandLevels(vortex_t * vortex, u16 peaks[])
347 peaks[i] = hwread(vortex->mmio, 0x2B024 + i * 0x30);
349 peaks[i + eqhw->this04] =
497 static int vortex_Eqlzr_GetAllPeaks(vortex_t * vortex, u16 * peaks, int *count)
504 vortex_EqHw_GetTenBandLevels(vortex, peaks);
663 u16 peaks[20];
665 vortex_Eqlzr_GetAllPeaks(vortex, peaks, &count);
671 ucontrol->value.integer.value[i] = peaks[i];