Lines Matching refs:MAX_OPL2_VOICES
50 char snd_opl3_regmap[MAX_OPL2_VOICES][4] =
368 MAX_OPL2_VOICES : MAX_OPL3_VOICES; in snd_opl3_reset()
372 if (i < MAX_OPL2_VOICES) { in snd_opl3_reset()
379 voice_offset = i - MAX_OPL2_VOICES; in snd_opl3_reset()
390 opl3->max_voices = MAX_OPL2_VOICES; in snd_opl3_reset()
411 MAX_OPL3_VOICES : MAX_OPL2_VOICES)) in snd_opl3_play_note()
415 if (note->voice < MAX_OPL2_VOICES) { in snd_opl3_play_note()
422 voice_offset = note->voice - MAX_OPL2_VOICES; in snd_opl3_play_note()
462 MAX_OPL3_VOICES : MAX_OPL2_VOICES)) in snd_opl3_set_voice()
466 if (voice->voice < MAX_OPL2_VOICES) { in snd_opl3_set_voice()
473 voice_offset = voice->voice - MAX_OPL2_VOICES; in snd_opl3_set_voice()