Lines Matching refs:MAX_OPL2_VOICES
38 char snd_opl3_regmap[MAX_OPL2_VOICES][4] =
358 MAX_OPL2_VOICES : MAX_OPL3_VOICES; in snd_opl3_reset()
362 if (i < MAX_OPL2_VOICES) { in snd_opl3_reset()
369 voice_offset = i - MAX_OPL2_VOICES; in snd_opl3_reset()
380 opl3->max_voices = MAX_OPL2_VOICES; in snd_opl3_reset()
401 MAX_OPL3_VOICES : MAX_OPL2_VOICES)) in snd_opl3_play_note()
405 if (note->voice < MAX_OPL2_VOICES) { in snd_opl3_play_note()
412 voice_offset = note->voice - MAX_OPL2_VOICES; in snd_opl3_play_note()
452 MAX_OPL3_VOICES : MAX_OPL2_VOICES)) in snd_opl3_set_voice()
456 if (voice->voice < MAX_OPL2_VOICES) { in snd_opl3_set_voice()
463 voice_offset = voice->voice - MAX_OPL2_VOICES; in snd_opl3_set_voice()
466 voice_offset = array_index_nospec(voice_offset, MAX_OPL2_VOICES); in snd_opl3_set_voice()