Lines Matching refs:MAX_OPL2_VOICES
52 char snd_opl3_regmap[MAX_OPL2_VOICES][4] =
370 MAX_OPL2_VOICES : MAX_OPL3_VOICES; in snd_opl3_reset()
374 if (i < MAX_OPL2_VOICES) { in snd_opl3_reset()
381 voice_offset = i - MAX_OPL2_VOICES; in snd_opl3_reset()
392 opl3->max_voices = MAX_OPL2_VOICES; in snd_opl3_reset()
413 MAX_OPL3_VOICES : MAX_OPL2_VOICES)) in snd_opl3_play_note()
417 if (note->voice < MAX_OPL2_VOICES) { in snd_opl3_play_note()
424 voice_offset = note->voice - MAX_OPL2_VOICES; in snd_opl3_play_note()
464 MAX_OPL3_VOICES : MAX_OPL2_VOICES)) in snd_opl3_set_voice()
468 if (voice->voice < MAX_OPL2_VOICES) { in snd_opl3_set_voice()
475 voice_offset = voice->voice - MAX_OPL2_VOICES; in snd_opl3_set_voice()
478 voice_offset = array_index_nospec(voice_offset, MAX_OPL2_VOICES); in snd_opl3_set_voice()