Lines Matching refs:mixin
155 vortex_mix_getenablebit(vortex_t * vortex, unsigned char mix, int mixin)
158 if (mixin >= 0)
159 addr = mixin;
161 addr = mixin + 3;
164 return ((temp >> (mixin & 3)) & 1);
183 int mixin, unsigned char vol) in vortex_mix_setinputvolumebyte() argument
188 VORTEX_MIX_INVOL_A + (((mix << 5) + mixin) << 2), vol); in vortex_mix_setinputvolumebyte()
192 VORTEX_MIX_INVOL_B + (((mix << 5) + mixin) << 2)); in vortex_mix_setinputvolumebyte()
197 VORTEX_MIX_INVOL_B + (((mix << 5) + mixin) << 2), vol); in vortex_mix_setinputvolumebyte()
201 vortex_mix_setenablebit(vortex_t * vortex, unsigned char mix, int mixin, int en) in vortex_mix_setenablebit() argument
205 if (mixin < 0) in vortex_mix_setenablebit()
206 addr = (mixin + 3); in vortex_mix_setenablebit()
208 addr = mixin; in vortex_mix_setenablebit()
212 temp |= (1 << (mixin & 3)); in vortex_mix_setenablebit()
214 temp &= ~(1 << (mixin & 3)); in vortex_mix_setenablebit()
217 VORTEX_MIX_INVOL_B + (((mix << 5) + mixin) << 2), 0x80); in vortex_mix_setenablebit()
219 hwwrite(vortex->mmio, VORTEX_MIX_SMP + (mixin << 2), 0x0); in vortex_mix_setenablebit()
220 hwwrite(vortex->mmio, VORTEX_MIX_SMP + 4 + (mixin << 2), 0x0); in vortex_mix_setenablebit()
226 vortex_mix_killinput(vortex_t * vortex, unsigned char mix, int mixin) in vortex_mix_killinput() argument
228 rampchs[mix] &= ~(1 << mixin); in vortex_mix_killinput()
229 vortex_mix_setinputvolumebyte(vortex, mix, mixin, 0x80); in vortex_mix_killinput()
230 mchannels[mix] &= ~(1 << mixin); in vortex_mix_killinput()
231 vortex_mix_setenablebit(vortex, mix, mixin, 0); in vortex_mix_killinput()
235 vortex_mix_enableinput(vortex_t * vortex, unsigned char mix, int mixin) in vortex_mix_enableinput() argument
237 vortex_mix_killinput(vortex, mix, mixin); in vortex_mix_enableinput()
238 if ((mchannels[mix] & (1 << mixin)) == 0) { in vortex_mix_enableinput()
239 vortex_mix_setinputvolumebyte(vortex, mix, mixin, 0x80); /*0x80 : mute */ in vortex_mix_enableinput()
240 mchannels[mix] |= (1 << mixin); in vortex_mix_enableinput()
242 vortex_mix_setenablebit(vortex, mix, mixin, 1); in vortex_mix_enableinput()
1840 unsigned char mixin) in vortex_connection_src_mixin() argument
1842 vortex_route(vortex, en, channel, ADB_SRCOUT(src), ADB_MIXIN(mixin)); in vortex_connection_src_mixin()
1847 vortex_connection_mixin_mix(vortex_t * vortex, int en, unsigned char mixin, in vortex_connection_mixin_mix() argument
1851 vortex_mix_enableinput(vortex, mix, mixin); in vortex_connection_mixin_mix()
1852 vortex_mix_setinputvolumebyte(vortex, mix, mixin, MIX_DEFIGAIN); // added to original code. in vortex_connection_mixin_mix()
1854 vortex_mix_disableinput(vortex, mix, mixin, a); in vortex_connection_mixin_mix()
1861 unsigned char mixin) in vortex_connection_adb_mixin() argument
1863 vortex_route(vortex, en, channel, source, ADB_MIXIN(mixin)); in vortex_connection_adb_mixin()
2252 p->mixin[i] = mix[i]; in vortex_adb_allocroute()