Lines Matching refs:mmio

41 	hwwrite(vortex->mmio, 0x2b3c4, gain);  in vortex_EqHw_SetTimeConsts()
42 hwwrite(vortex->mmio, 0x2b3c8, level); in vortex_EqHw_SetTimeConsts()
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()
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()
104 hwwrite(vortex->mmio, 0x2b3fc, a[0]); in vortex_EqHw_SetLeftStates()
105 hwwrite(vortex->mmio, 0x2b400, a[1]); in vortex_EqHw_SetLeftStates()
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()
121 hwwrite(vortex->mmio, 0x2b404, a[0]); in vortex_EqHw_SetRightStates()
122 hwwrite(vortex->mmio, 0x2b408, a[1]); in vortex_EqHw_SetRightStates()
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()
136 *a = hwread(vortex->mmio, 0x2b3c4);
137 *b = hwread(vortex->mmio, 0x2b3c8);
166 hwwrite(vortex->mmio, 0x2b3d4, a); in vortex_EqHw_SetBypassGain()
167 hwwrite(vortex->mmio, 0x2b3ec, b); in vortex_EqHw_SetBypassGain()
169 hwwrite(vortex->mmio, 0x2b3d4, sign_invert(a)); in vortex_EqHw_SetBypassGain()
170 hwwrite(vortex->mmio, 0x2b3ec, sign_invert(b)); in vortex_EqHw_SetBypassGain()
177 hwwrite(vortex->mmio, 0x2b3e0, a); in vortex_EqHw_SetA3DBypassGain()
178 hwwrite(vortex->mmio, 0x2b3f8, b); in vortex_EqHw_SetA3DBypassGain()
185 hwwrite(vortex->mmio, 0x2b3d0, a);
186 hwwrite(vortex->mmio, 0x2b3e8, b);
192 hwwrite(vortex->mmio, 0x2b3dc, a);
193 hwwrite(vortex->mmio, 0x2b3f4, b);
200 hwwrite(vortex->mmio, 0x2b02c + (index * 0x30), b); in vortex_EqHw_SetLeftGainsSingleTarget()
206 hwwrite(vortex->mmio, 0x2b20c + (index * 0x30), b); in vortex_EqHw_SetRightGainsSingleTarget()
215 hwwrite(vortex->mmio, 0x2b02c + ebx * 0x30, a[ebx]); in vortex_EqHw_SetLeftGainsTarget()
225 hwwrite(vortex->mmio, 0x2b20c + ebx * 0x30, a[ebx]); in vortex_EqHw_SetRightGainsTarget()
235 hwwrite(vortex->mmio, 0x2b028 + ebx * 0x30, a[ebx]); in vortex_EqHw_SetLeftGainsCurrent()
245 hwwrite(vortex->mmio, 0x2b208 + ebx * 0x30, a[ebx]); in vortex_EqHw_SetRightGainsCurrent()
259 a[ebx] = hwread(vortex->mmio, 0x2b02c + ebx * 0x30);
274 a[ebx] = hwread(vortex->mmio, 0x2b20c + ebx * 0x30);
289 a[ebx] = hwread(vortex->mmio, 0x2b028 + ebx * 0x30);
304 a[ebx] = hwread(vortex->mmio, 0x2b208 + ebx * 0x30);
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()
327 hwwrite(vortex->mmio, 0x2b204 + i * VORTEX_BAND_COEFF_SIZE, 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()
346 a[ebx] = hwread(vortex->mmio, 0x2b024 + ebx * 0x30);
351 a[eqhw->this04] = hwread(vortex->mmio, 0x2b3cc);
352 a[eqhw->this04 + 1] = hwread(vortex->mmio, 0x2b3d8);
357 hwread(vortex->mmio, 0x2b204 + ebx * 0x30);
362 a[2 + (eqhw->this04 * 2)] = hwread(vortex->mmio, 0x2b3e4);
363 a[3 + (eqhw->this04 * 2)] = hwread(vortex->mmio, 0x2b3f0);
370 hwwrite(vortex->mmio, 0x2b440, reg); in vortex_EqHw_SetControlReg()
375 hwwrite(vortex->mmio, 0x2b440, ((sr & 0x1f) << 3) | 0xb800); in vortex_EqHw_SetSampleRate()
381 *reg = hwread(vortex->mmio, 0x2b440);
386 *sr = (hwread(vortex->mmio, 0x2b440) >> 3) & 0x1f;
392 hwwrite(vortex->mmio, VORTEX_EQ_CTRL, 0xf001); in vortex_EqHw_Enable()
397 hwwrite(vortex->mmio, VORTEX_EQ_CTRL, 0xf000); in vortex_EqHw_Disable()
405 hwwrite(vortex->mmio, VORTEX_EQ_DEST + (i << 2), 0x0); in vortex_EqHw_ZeroIO()
407 hwwrite(vortex->mmio, VORTEX_EQ_SOURCE + (i << 2), 0x0); in vortex_EqHw_ZeroIO()
414 hwwrite(vortex->mmio, VORTEX_EQ_DEST + (i << 2), 0x0); in vortex_EqHw_ZeroA3DIO()
422 hwwrite(vortex->mmio, 0x2b3c0, 0); in vortex_EqHw_ZeroState()
485 peaks[i] = hwread(vortex->mmio, 0x2B024 + i * 0x30); in vortex_EqHw_GetTenBandLevels()
488 hwread(vortex->mmio, 0x2B204 + i * 0x30); in vortex_EqHw_GetTenBandLevels()