Lines Matching refs:state
130 printk("%c", *(str + opl3->voices[i].state + 1)); in debug_alloc()
172 if (vp->state == SNDRV_OPL3_ST_NOT_AVAIL) in opl3_get_voice()
188 if (vp->state) in opl3_get_voice()
194 if (vp2->state == SNDRV_OPL3_ST_ON_2OP) { in opl3_get_voice()
205 else if (vp->state) in opl3_get_voice()
209 if (vp->state) in opl3_get_voice()
248 if (vp->state > 0 && vp->note_off_check) { in snd_opl3_timer_func()
401 if (vp->state > 0) { in snd_opl3_note_on()
408 if (vp->state > 0) { in snd_opl3_note_on()
573 vp->state = SNDRV_OPL3_ST_ON_4OP; in snd_opl3_note_on()
579 vp2->state = SNDRV_OPL3_ST_NOT_AVAIL; in snd_opl3_note_on()
581 if (vp->state == SNDRV_OPL3_ST_ON_4OP) { in snd_opl3_note_on()
585 vp2->state = SNDRV_OPL3_ST_OFF; in snd_opl3_note_on()
587 vp->state = SNDRV_OPL3_ST_ON_2OP; in snd_opl3_note_on()
645 if (vp->state == SNDRV_OPL3_ST_ON_4OP) { in snd_opl3_kill_voice()
649 vp2->state = SNDRV_OPL3_ST_OFF; in snd_opl3_kill_voice()
651 vp->state = SNDRV_OPL3_ST_OFF; in snd_opl3_kill_voice()
689 if (vp->state > 0 && vp->chan == chan && vp->note == note) { in snd_opl3_note_off()
791 if (vp->state > 0 && vp->chan == chan) { in snd_opl3_pitch_ctrl()