Lines Matching refs:MAX_OPL2_VOICES
38 char snd_opl3_regmap[MAX_OPL2_VOICES][4] =
356 MAX_OPL2_VOICES : MAX_OPL3_VOICES; in snd_opl3_reset()
360 if (i < MAX_OPL2_VOICES) { in snd_opl3_reset()
367 voice_offset = i - MAX_OPL2_VOICES; in snd_opl3_reset()
378 opl3->max_voices = MAX_OPL2_VOICES; in snd_opl3_reset()
399 MAX_OPL3_VOICES : MAX_OPL2_VOICES)) in snd_opl3_play_note()
403 if (note->voice < MAX_OPL2_VOICES) { in snd_opl3_play_note()
410 voice_offset = note->voice - MAX_OPL2_VOICES; in snd_opl3_play_note()
450 MAX_OPL3_VOICES : MAX_OPL2_VOICES)) in snd_opl3_set_voice()
454 if (voice->voice < MAX_OPL2_VOICES) { in snd_opl3_set_voice()
461 voice_offset = voice->voice - MAX_OPL2_VOICES; in snd_opl3_set_voice()
464 voice_offset = array_index_nospec(voice_offset, MAX_OPL2_VOICES); in snd_opl3_set_voice()