Lines Matching refs:vp2
139 struct snd_opl3_voice *vp, *vp2; in opl3_get_voice() local
189 vp2 = &opl3->voices[i + 3]; in opl3_get_voice()
190 if (vp2->state == SNDRV_OPL3_ST_ON_2OP) { in opl3_get_voice()
193 voice_time = max(voice_time, vp2->time); in opl3_get_voice()
292 struct snd_opl3_voice *vp, *vp2; in snd_opl3_note_on() local
406 vp2 = &opl3->voices[voice + 3]; in snd_opl3_note_on()
407 if (vp2->state > 0) { in snd_opl3_note_on()
568 vp2 = &opl3->voices[voice + 3]; in snd_opl3_note_on()
569 vp2->time = opl3->use_time++; in snd_opl3_note_on()
570 vp2->note = key; in snd_opl3_note_on()
571 vp2->chan = chan; in snd_opl3_note_on()
572 vp2->state = SNDRV_OPL3_ST_NOT_AVAIL; in snd_opl3_note_on()
576 vp2 = &opl3->voices[voice + 3]; in snd_opl3_note_on()
577 vp2->time = opl3->use_time++; in snd_opl3_note_on()
578 vp2->state = SNDRV_OPL3_ST_OFF; in snd_opl3_note_on()
609 struct snd_opl3_voice *vp, *vp2; in snd_opl3_kill_voice() local
635 vp2 = &opl3->voices[voice + 3]; in snd_opl3_kill_voice()
637 vp2->time = opl3->use_time++; in snd_opl3_kill_voice()
638 vp2->state = SNDRV_OPL3_ST_OFF; in snd_opl3_kill_voice()