Lines Matching refs:voice_offset
310 unsigned char voice_offset; in snd_opl3_note_on() local
401 voice_offset = voice; in snd_opl3_note_on()
402 connect_mask = (OPL3_LEFT_4OP_0 << voice_offset) & 0x07; in snd_opl3_note_on()
406 voice_offset = voice - MAX_OPL2_VOICES; in snd_opl3_note_on()
407 connect_mask = (OPL3_RIGHT_4OP_0 << voice_offset) & 0x38; in snd_opl3_note_on()
413 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_note_on()
421 voice_offset + 3); in snd_opl3_note_on()
482 op_offset = snd_opl3_regmap[voice_offset][i]; in snd_opl3_note_on()
518 opl3_reg = reg_side | (OPL3_REG_FEEDBACK_CONNECTION + voice_offset); in snd_opl3_note_on()
531 voice_offset + 3); in snd_opl3_note_on()
551 opl3_reg = reg_side | (OPL3_REG_FNUM_LOW + voice_offset); in snd_opl3_note_on()
563 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_note_on()
626 unsigned char voice_offset; in snd_opl3_kill_voice() local
638 voice_offset = voice; in snd_opl3_kill_voice()
642 voice_offset = voice - MAX_OPL2_VOICES; in snd_opl3_kill_voice()
649 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_kill_voice()
751 unsigned char voice_offset; in snd_opl3_update_pitch() local
768 voice_offset = voice; in snd_opl3_update_pitch()
772 voice_offset = voice - MAX_OPL2_VOICES; in snd_opl3_update_pitch()
778 opl3_reg = reg_side | (OPL3_REG_FNUM_LOW + voice_offset); in snd_opl3_update_pitch()
787 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_update_pitch()