Lines Matching refs:i
57 int i = 0, n /*esp2c */; in vortex_EqHw_SetLeftCoefs() local
60 hwwrite(vortex->mmio, 0x2b000 + n * 0x30, coefs[i + 0]); in vortex_EqHw_SetLeftCoefs()
61 hwwrite(vortex->mmio, 0x2b004 + n * 0x30, coefs[i + 1]); in vortex_EqHw_SetLeftCoefs()
64 hwwrite(vortex->mmio, 0x2b008 + n * 0x30, coefs[i + 2]); in vortex_EqHw_SetLeftCoefs()
65 hwwrite(vortex->mmio, 0x2b00c + n * 0x30, coefs[i + 3]); in vortex_EqHw_SetLeftCoefs()
66 hwwrite(vortex->mmio, 0x2b010 + n * 0x30, coefs[i + 4]); in vortex_EqHw_SetLeftCoefs()
68 hwwrite(vortex->mmio, 0x2b008 + n * 0x30, sign_invert(coefs[2 + i])); in vortex_EqHw_SetLeftCoefs()
69 hwwrite(vortex->mmio, 0x2b00c + n * 0x30, sign_invert(coefs[3 + i])); in vortex_EqHw_SetLeftCoefs()
70 hwwrite(vortex->mmio, 0x2b010 + n * 0x30, sign_invert(coefs[4 + i])); in vortex_EqHw_SetLeftCoefs()
72 i += 5; in vortex_EqHw_SetLeftCoefs()
79 int i = 0, n /*esp2c */; in vortex_EqHw_SetRightCoefs() local
82 hwwrite(vortex->mmio, 0x2b1e0 + n * 0x30, coefs[0 + i]); in vortex_EqHw_SetRightCoefs()
83 hwwrite(vortex->mmio, 0x2b1e4 + n * 0x30, coefs[1 + i]); in vortex_EqHw_SetRightCoefs()
86 hwwrite(vortex->mmio, 0x2b1e8 + n * 0x30, coefs[2 + i]); in vortex_EqHw_SetRightCoefs()
87 hwwrite(vortex->mmio, 0x2b1ec + n * 0x30, coefs[3 + i]); in vortex_EqHw_SetRightCoefs()
88 hwwrite(vortex->mmio, 0x2b1f0 + n * 0x30, coefs[4 + i]); in vortex_EqHw_SetRightCoefs()
90 hwwrite(vortex->mmio, 0x2b1e8 + n * 0x30, sign_invert(coefs[2 + i])); in vortex_EqHw_SetRightCoefs()
91 hwwrite(vortex->mmio, 0x2b1ec + n * 0x30, sign_invert(coefs[3 + i])); in vortex_EqHw_SetRightCoefs()
92 hwwrite(vortex->mmio, 0x2b1f0 + n * 0x30, sign_invert(coefs[4 + i])); in vortex_EqHw_SetRightCoefs()
94 i += 5; in vortex_EqHw_SetRightCoefs()
102 int i = 0, ebx; in vortex_EqHw_SetLeftStates() local
108 hwwrite(vortex->mmio, 0x2b014 + (i * 0xc), b[i]); in vortex_EqHw_SetLeftStates()
109 hwwrite(vortex->mmio, 0x2b018 + (i * 0xc), b[1 + i]); in vortex_EqHw_SetLeftStates()
110 hwwrite(vortex->mmio, 0x2b01c + (i * 0xc), b[2 + i]); in vortex_EqHw_SetLeftStates()
111 hwwrite(vortex->mmio, 0x2b020 + (i * 0xc), b[3 + i]); in vortex_EqHw_SetLeftStates()
112 i += 4; in vortex_EqHw_SetLeftStates()
119 int i = 0, ebx; in vortex_EqHw_SetRightStates() local
125 hwwrite(vortex->mmio, 0x2b1f4 + (i * 0xc), b[i]); in vortex_EqHw_SetRightStates()
126 hwwrite(vortex->mmio, 0x2b1f8 + (i * 0xc), b[1 + i]); in vortex_EqHw_SetRightStates()
127 hwwrite(vortex->mmio, 0x2b1fc + (i * 0xc), b[2 + i]); in vortex_EqHw_SetRightStates()
128 hwwrite(vortex->mmio, 0x2b200 + (i * 0xc), b[3 + i]); in vortex_EqHw_SetRightStates()
129 i += 4; in vortex_EqHw_SetRightStates()
315 int i; in vortex_EqHw_SetLevels() local
318 for (i = 0; i < eqhw->this04; i++) { in vortex_EqHw_SetLevels()
319 hwwrite(vortex->mmio, 0x2b024 + i * VORTEX_BAND_COEFF_SIZE, peaks[i]); in vortex_EqHw_SetLevels()
326 for (i = 0; i < eqhw->this04; i++) { in vortex_EqHw_SetLevels()
327 hwwrite(vortex->mmio, 0x2b204 + i * VORTEX_BAND_COEFF_SIZE, in vortex_EqHw_SetLevels()
328 peaks[i + (eqhw->this04 + 2)]); in vortex_EqHw_SetLevels()
403 int i; in vortex_EqHw_ZeroIO() local
404 for (i = 0; i < 0x8; i++) in vortex_EqHw_ZeroIO()
405 hwwrite(vortex->mmio, VORTEX_EQ_DEST + (i << 2), 0x0); in vortex_EqHw_ZeroIO()
406 for (i = 0; i < 0x4; i++) in vortex_EqHw_ZeroIO()
407 hwwrite(vortex->mmio, VORTEX_EQ_SOURCE + (i << 2), 0x0); in vortex_EqHw_ZeroIO()
412 int i; in vortex_EqHw_ZeroA3DIO() local
413 for (i = 0; i < 0x4; i++) in vortex_EqHw_ZeroA3DIO()
414 hwwrite(vortex->mmio, VORTEX_EQ_DEST + (i << 2), 0x0); in vortex_EqHw_ZeroA3DIO()
479 int i; in vortex_EqHw_GetTenBandLevels() local
484 for (i = 0; i < eqhw->this04; i++) in vortex_EqHw_GetTenBandLevels()
485 peaks[i] = hwread(vortex->mmio, 0x2B024 + i * 0x30); in vortex_EqHw_GetTenBandLevels()
486 for (i = 0; i < eqhw->this04; i++) in vortex_EqHw_GetTenBandLevels()
487 peaks[i + eqhw->this04] = in vortex_EqHw_GetTenBandLevels()
488 hwread(vortex->mmio, 0x2B204 + i * 0x30); in vortex_EqHw_GetTenBandLevels()
580 int i; in vortex_Eqlzr_SetAllBands() local
585 for (i = 0; i < count; i++) { in vortex_Eqlzr_SetAllBands()
586 eq->this130[i] = gains[i]; in vortex_Eqlzr_SetAllBands()
773 int i = kcontrol->private_value; in snd_vortex_eq_get() local
776 vortex_Eqlzr_GetLeftGain(vortex, i, &gainL); in snd_vortex_eq_get()
777 vortex_Eqlzr_GetRightGain(vortex, i, &gainR); in snd_vortex_eq_get()
787 int changed = 0, i = kcontrol->private_value; in snd_vortex_eq_put() local
790 vortex_Eqlzr_GetLeftGain(vortex, i, &gainL); in snd_vortex_eq_put()
791 vortex_Eqlzr_GetRightGain(vortex, i, &gainR); in snd_vortex_eq_put()
794 vortex_Eqlzr_SetLeftGain(vortex, i, in snd_vortex_eq_put()
799 vortex_Eqlzr_SetRightGain(vortex, i, in snd_vortex_eq_put()
831 int i, count = 0; in snd_vortex_peaks_get() local
840 for (i = 0; i < 20; i++) in snd_vortex_peaks_get()
841 ucontrol->value.integer.value[i] = peaks[i]; in snd_vortex_peaks_get()
872 int err, i; in vortex_eq_init() local
884 for (i = 0; i < 10; i++) { in vortex_eq_init()
889 "%s Playback Volume", EqBandLabels[i]); in vortex_eq_init()
890 kcontrol->private_value = i; in vortex_eq_init()