Lines Matching refs:voice_offset
353 unsigned char voice_offset;
365 voice_offset = i;
369 voice_offset = i - MAX_OPL2_VOICES;
371 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + snd_opl3_regmap[voice_offset][0]);
373 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + snd_opl3_regmap[voice_offset][1]);
376 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset);
393 unsigned char voice_offset;
408 voice_offset = note->voice;
412 voice_offset = note->voice - MAX_OPL2_VOICES;
417 opl3_reg = reg_side | (OPL3_REG_FNUM_LOW + voice_offset);
430 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset);
441 unsigned char voice_offset, voice_op;
459 voice_offset = voice->voice;
463 voice_offset = voice->voice - MAX_OPL2_VOICES;
466 voice_offset = array_index_nospec(voice_offset, MAX_OPL2_VOICES);
468 op_offset = snd_opl3_regmap[voice_offset][voice_op];
530 opl3_reg = reg_side | (OPL3_REG_FEEDBACK_CONNECTION + voice_offset);