Lines Matching refs:voice_offset
363 unsigned char voice_offset; in snd_opl3_reset() local
375 voice_offset = i; in snd_opl3_reset()
379 voice_offset = i - MAX_OPL2_VOICES; in snd_opl3_reset()
381 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + snd_opl3_regmap[voice_offset][0]); in snd_opl3_reset()
383 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + snd_opl3_regmap[voice_offset][1]); in snd_opl3_reset()
386 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_reset()
403 unsigned char voice_offset; in snd_opl3_play_note() local
418 voice_offset = note->voice; in snd_opl3_play_note()
422 voice_offset = note->voice - MAX_OPL2_VOICES; in snd_opl3_play_note()
427 opl3_reg = reg_side | (OPL3_REG_FNUM_LOW + voice_offset); in snd_opl3_play_note()
440 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_play_note()
451 unsigned char voice_offset; in snd_opl3_set_voice() local
469 voice_offset = voice->voice; in snd_opl3_set_voice()
473 voice_offset = voice->voice - MAX_OPL2_VOICES; in snd_opl3_set_voice()
476 op_offset = snd_opl3_regmap[voice_offset][voice->op]; in snd_opl3_set_voice()
538 opl3_reg = reg_side | (OPL3_REG_FEEDBACK_CONNECTION + voice_offset); in snd_opl3_set_voice()