Lines Matching refs:voice_offset
365 unsigned char voice_offset; in snd_opl3_reset() local
377 voice_offset = i; in snd_opl3_reset()
381 voice_offset = i - MAX_OPL2_VOICES; in snd_opl3_reset()
383 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + snd_opl3_regmap[voice_offset][0]); in snd_opl3_reset()
385 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + snd_opl3_regmap[voice_offset][1]); in snd_opl3_reset()
388 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_reset()
405 unsigned char voice_offset; in snd_opl3_play_note() local
420 voice_offset = note->voice; in snd_opl3_play_note()
424 voice_offset = note->voice - MAX_OPL2_VOICES; in snd_opl3_play_note()
429 opl3_reg = reg_side | (OPL3_REG_FNUM_LOW + voice_offset); in snd_opl3_play_note()
442 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_play_note()
453 unsigned char voice_offset, voice_op; in snd_opl3_set_voice() local
471 voice_offset = voice->voice; 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()
480 op_offset = snd_opl3_regmap[voice_offset][voice_op]; in snd_opl3_set_voice()
542 opl3_reg = reg_side | (OPL3_REG_FEEDBACK_CONNECTION + voice_offset); in snd_opl3_set_voice()