Lines Matching refs:vp2
129 struct snd_opl3_voice *vp, *vp2; in opl3_get_voice() local
179 vp2 = &opl3->voices[i + 3]; in opl3_get_voice()
180 if (vp2->state == SNDRV_OPL3_ST_ON_2OP) { in opl3_get_voice()
183 voice_time = max(voice_time, vp2->time); in opl3_get_voice()
281 struct snd_opl3_voice *vp, *vp2; in snd_opl3_note_on() local
399 vp2 = &opl3->voices[voice + 3]; in snd_opl3_note_on()
400 if (vp2->state > 0) { in snd_opl3_note_on()
567 vp2 = &opl3->voices[voice + 3]; in snd_opl3_note_on()
568 vp2->time = opl3->use_time++; in snd_opl3_note_on()
569 vp2->note = key; in snd_opl3_note_on()
570 vp2->chan = chan; in snd_opl3_note_on()
571 vp2->state = SNDRV_OPL3_ST_NOT_AVAIL; in snd_opl3_note_on()
575 vp2 = &opl3->voices[voice + 3]; in snd_opl3_note_on()
576 vp2->time = opl3->use_time++; in snd_opl3_note_on()
577 vp2->state = SNDRV_OPL3_ST_OFF; in snd_opl3_note_on()
610 struct snd_opl3_voice *vp, *vp2; in snd_opl3_kill_voice() local
638 vp2 = &opl3->voices[voice + 3]; in snd_opl3_kill_voice()
640 vp2->time = opl3->use_time++; in snd_opl3_kill_voice()
641 vp2->state = SNDRV_OPL3_ST_OFF; in snd_opl3_kill_voice()