Lines Matching full:peaks
312 static void vortex_EqHw_SetLevels(vortex_t *vortex, const u16 peaks[]) in vortex_EqHw_SetLevels() argument
317 /* set left peaks */ in vortex_EqHw_SetLevels()
319 hwwrite(vortex->mmio, 0x2b024 + i * VORTEX_BAND_COEFF_SIZE, peaks[i]); in vortex_EqHw_SetLevels()
322 hwwrite(vortex->mmio, 0x2b3cc, peaks[eqhw->this04]); in vortex_EqHw_SetLevels()
323 hwwrite(vortex->mmio, 0x2b3d8, peaks[eqhw->this04 + 1]); in vortex_EqHw_SetLevels()
325 /* set right peaks */ in vortex_EqHw_SetLevels()
328 peaks[i + (eqhw->this04 + 2)]); in vortex_EqHw_SetLevels()
331 hwwrite(vortex->mmio, 0x2b3e4, peaks[2 + (eqhw->this04 * 2)]); in vortex_EqHw_SetLevels()
332 hwwrite(vortex->mmio, 0x2b3f0, peaks[3 + (eqhw->this04 * 2)]); in vortex_EqHw_SetLevels()
475 /* Read all EQ peaks. (think VU meter) */
476 static void vortex_EqHw_GetTenBandLevels(vortex_t * vortex, u16 peaks[]) in vortex_EqHw_GetTenBandLevels() argument
485 peaks[i] = hwread(vortex->mmio, 0x2B024 + i * 0x30); in vortex_EqHw_GetTenBandLevels()
487 peaks[i + eqhw->this04] = in vortex_EqHw_GetTenBandLevels()
658 static int vortex_Eqlzr_GetAllPeaks(vortex_t * vortex, u16 * peaks, int *count) in vortex_Eqlzr_GetAllPeaks() argument
665 vortex_EqHw_GetTenBandLevels(vortex, peaks); in vortex_Eqlzr_GetAllPeaks()
832 u16 peaks[20]; in snd_vortex_peaks_get() local
834 vortex_Eqlzr_GetAllPeaks(vortex, peaks, &count); in snd_vortex_peaks_get()
841 ucontrol->value.integer.value[i] = peaks[i]; in snd_vortex_peaks_get()
848 .name = "EQ Peaks",