Lines Matching refs:vp
200 struct snd_emux_voice *vp = &emu->voices[i];
201 if (!STATE_IS_PLAYING(vp->state) || vp->chan != chan)
203 srcp = (unsigned char*)&vp->reg.parm + offset;
204 origp = (unsigned char*)&vp->zone->v.parm + offset;
222 snd_emux_setup_effect(struct snd_emux_voice *vp)
224 struct snd_midi_channel *chan = vp->chan;
248 srcp = (unsigned char*)&vp->reg.parm + offset;
256 vp->reg.start += effect_get_offset(chan, EMUX_FX_SAMPLE_START,
258 vp->reg.sample_mode);
260 vp->reg.loopstart += effect_get_offset(chan, EMUX_FX_LOOP_START,
262 vp->reg.sample_mode);
264 vp->reg.loopend += effect_get_offset(chan, EMUX_FX_LOOP_END,
266 vp->reg.sample_mode);