Lines Matching full:voice
56 wt_voice_t *voice = &(vortex->wt_voice[wt]); in vortex_wt_allocroute() local
95 voice->parm0 = voice->parm1 = 0xcfb23e2f; in vortex_wt_allocroute()
96 hwwrite(vortex->mmio, WT_PARM(wt, 0), voice->parm0); in vortex_wt_allocroute()
97 hwwrite(vortex->mmio, WT_PARM(wt, 1), voice->parm1); in vortex_wt_allocroute()
197 "WT SetReg: voice out of range\n"); in vortex_wt_SetReg()
205 /* Voice specific parameters */ in vortex_wt_SetReg()
310 /* Init Voice registers. */ in vortex_wt_init()
327 wt_voice_t *voice = &(vortex->wt_voice[wt]);
331 voice->parm0 &= 0xff00ffff;
332 voice->parm0 |= (vol[0] & 0xff) << 0x10;
333 voice->parm1 &= 0xff00ffff;
334 voice->parm1 |= (vol[1] & 0xff) << 0x10;
337 hwwrite(vortex, WT_PARM(wt, 0), voice->parm0);
338 hwwrite(vortex, WT_PARM(wt, 1), voice->parm0);
340 if (voice->this_1D0 & 4) {
345 voice->parm3 &= 0xFFFFC07F;
346 voice->parm3 |= (ecx & 0x7f) << 7;
347 voice->parm3 &= 0xFFFFFF80;
348 voice->parm3 |= (eax & 0x7f);
350 voice->parm3 &= 0xFFE03FFF;
351 voice->parm3 |= (eax & 0xFE00) << 5;
354 hwwrite(vortex, WT_PARM(wt, 3), voice->parm3);
360 wt_voice_t *voice = &(vortex->wt_voice[wt]);
389 voice->parm0 &= 0xffff0001;
390 voice->parm0 |= (eax & 0x7fff) << 1;
391 voice->parm1 = voice->parm0 | 1;
395 hwwrite(vortex->mmio, WT_PARM(wt, 0), voice->parm0);
396 hwwrite(vortex->mmio, WT_PARM(wt, 1), voice->parm1);