Lines Matching refs:peaks
324 static void vortex_EqHw_SetLevels(vortex_t * vortex, u16 peaks[]) in vortex_EqHw_SetLevels() argument
331 hwwrite(vortex->mmio, 0x2b024 + i * VORTEX_BAND_COEFF_SIZE, peaks[i]); in vortex_EqHw_SetLevels()
334 hwwrite(vortex->mmio, 0x2b3cc, peaks[eqhw->this04]); in vortex_EqHw_SetLevels()
335 hwwrite(vortex->mmio, 0x2b3d8, peaks[eqhw->this04 + 1]); in vortex_EqHw_SetLevels()
340 peaks[i + (eqhw->this04 + 2)]); in vortex_EqHw_SetLevels()
343 hwwrite(vortex->mmio, 0x2b3e4, peaks[2 + (eqhw->this04 * 2)]); in vortex_EqHw_SetLevels()
344 hwwrite(vortex->mmio, 0x2b3f0, peaks[3 + (eqhw->this04 * 2)]); in vortex_EqHw_SetLevels()
488 static void vortex_EqHw_GetTenBandLevels(vortex_t * vortex, u16 peaks[]) in vortex_EqHw_GetTenBandLevels() argument
497 peaks[i] = hwread(vortex->mmio, 0x2B024 + i * 0x30); in vortex_EqHw_GetTenBandLevels()
499 peaks[i + eqhw->this04] = in vortex_EqHw_GetTenBandLevels()
670 static int vortex_Eqlzr_GetAllPeaks(vortex_t * vortex, u16 * peaks, int *count) in vortex_Eqlzr_GetAllPeaks() argument
677 vortex_EqHw_GetTenBandLevels(vortex, peaks); in vortex_Eqlzr_GetAllPeaks()
844 u16 peaks[20]; in snd_vortex_peaks_get() local
846 vortex_Eqlzr_GetAllPeaks(vortex, peaks, &count); in snd_vortex_peaks_get()
853 ucontrol->value.integer.value[i] = peaks[i]; in snd_vortex_peaks_get()