Lines Matching refs:mixin

167 vortex_mix_getenablebit(vortex_t * vortex, unsigned char mix, int mixin)
170 if (mixin >= 0)
171 addr = mixin;
173 addr = mixin + 3;
176 return ((temp >> (mixin & 3)) & 1);
195 int mixin, unsigned char vol) in vortex_mix_setinputvolumebyte() argument
200 VORTEX_MIX_INVOL_A + (((mix << 5) + mixin) << 2), vol); in vortex_mix_setinputvolumebyte()
204 VORTEX_MIX_INVOL_B + (((mix << 5) + mixin) << 2)); in vortex_mix_setinputvolumebyte()
209 VORTEX_MIX_INVOL_B + (((mix << 5) + mixin) << 2), vol); in vortex_mix_setinputvolumebyte()
213 vortex_mix_setenablebit(vortex_t * vortex, unsigned char mix, int mixin, int en) in vortex_mix_setenablebit() argument
217 if (mixin < 0) in vortex_mix_setenablebit()
218 addr = (mixin + 3); in vortex_mix_setenablebit()
220 addr = mixin; in vortex_mix_setenablebit()
224 temp |= (1 << (mixin & 3)); in vortex_mix_setenablebit()
226 temp &= ~(1 << (mixin & 3)); in vortex_mix_setenablebit()
229 VORTEX_MIX_INVOL_B + (((mix << 5) + mixin) << 2), 0x80); in vortex_mix_setenablebit()
231 hwwrite(vortex->mmio, VORTEX_MIX_SMP + (mixin << 2), 0x0); in vortex_mix_setenablebit()
232 hwwrite(vortex->mmio, VORTEX_MIX_SMP + 4 + (mixin << 2), 0x0); in vortex_mix_setenablebit()
238 vortex_mix_killinput(vortex_t * vortex, unsigned char mix, int mixin) in vortex_mix_killinput() argument
240 rampchs[mix] &= ~(1 << mixin); in vortex_mix_killinput()
241 vortex_mix_setinputvolumebyte(vortex, mix, mixin, 0x80); in vortex_mix_killinput()
242 mchannels[mix] &= ~(1 << mixin); in vortex_mix_killinput()
243 vortex_mix_setenablebit(vortex, mix, mixin, 0); in vortex_mix_killinput()
247 vortex_mix_enableinput(vortex_t * vortex, unsigned char mix, int mixin) in vortex_mix_enableinput() argument
249 vortex_mix_killinput(vortex, mix, mixin); in vortex_mix_enableinput()
250 if ((mchannels[mix] & (1 << mixin)) == 0) { in vortex_mix_enableinput()
251 vortex_mix_setinputvolumebyte(vortex, mix, mixin, 0x80); /*0x80 : mute */ in vortex_mix_enableinput()
252 mchannels[mix] |= (1 << mixin); in vortex_mix_enableinput()
254 vortex_mix_setenablebit(vortex, mix, mixin, 1); in vortex_mix_enableinput()
1847 unsigned char mixin) in vortex_connection_src_mixin() argument
1849 vortex_route(vortex, en, channel, ADB_SRCOUT(src), ADB_MIXIN(mixin)); in vortex_connection_src_mixin()
1854 vortex_connection_mixin_mix(vortex_t * vortex, int en, unsigned char mixin, in vortex_connection_mixin_mix() argument
1858 vortex_mix_enableinput(vortex, mix, mixin); in vortex_connection_mixin_mix()
1859 vortex_mix_setinputvolumebyte(vortex, mix, mixin, MIX_DEFIGAIN); // added to original code. in vortex_connection_mixin_mix()
1861 vortex_mix_disableinput(vortex, mix, mixin, a); in vortex_connection_mixin_mix()
1868 unsigned char mixin) in vortex_connection_adb_mixin() argument
1870 vortex_route(vortex, en, channel, source, ADB_MIXIN(mixin)); in vortex_connection_adb_mixin()