Lines Matching refs:opl3_reg
86 unsigned short opl3_reg; in snd_opl3_drum_voice_set() local
89 opl3_reg = OPL3_LEFT | (OPL3_REG_AM_VIB + op_offset); in snd_opl3_drum_voice_set()
90 opl3->command(opl3, opl3_reg, data->am_vib); in snd_opl3_drum_voice_set()
93 opl3_reg = OPL3_LEFT | (OPL3_REG_KSL_LEVEL + op_offset); in snd_opl3_drum_voice_set()
94 opl3->command(opl3, opl3_reg, data->ksl_level); in snd_opl3_drum_voice_set()
97 opl3_reg = OPL3_LEFT | (OPL3_REG_ATTACK_DECAY + op_offset); in snd_opl3_drum_voice_set()
98 opl3->command(opl3, opl3_reg, data->attack_decay); in snd_opl3_drum_voice_set()
101 opl3_reg = OPL3_LEFT | (OPL3_REG_SUSTAIN_RELEASE + op_offset); in snd_opl3_drum_voice_set()
102 opl3->command(opl3, opl3_reg, data->sustain_release); in snd_opl3_drum_voice_set()
105 opl3_reg = OPL3_LEFT | (OPL3_REG_FEEDBACK_CONNECTION + voice_offset); in snd_opl3_drum_voice_set()
106 opl3->command(opl3, opl3_reg, data->feedback_connection); in snd_opl3_drum_voice_set()
109 opl3_reg = OPL3_LEFT | (OPL3_REG_WAVE_SELECT + op_offset); in snd_opl3_drum_voice_set()
110 opl3->command(opl3, opl3_reg, data->wave_select); in snd_opl3_drum_voice_set()
120 unsigned short opl3_reg; in snd_opl3_drum_note_set() local
123 opl3_reg = OPL3_LEFT | (OPL3_REG_FNUM_LOW + voice_offset); in snd_opl3_drum_note_set()
124 opl3->command(opl3, opl3_reg, data->fnum); in snd_opl3_drum_note_set()
127 opl3_reg = OPL3_LEFT | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_drum_note_set()
128 opl3->command(opl3, opl3_reg, data->octave_f); in snd_opl3_drum_note_set()
141 unsigned short opl3_reg; in snd_opl3_drum_vol_set() local
146 opl3_reg = OPL3_LEFT | (OPL3_REG_KSL_LEVEL + op_offset); in snd_opl3_drum_vol_set()
147 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_drum_vol_set()
156 opl3_reg = OPL3_LEFT | (OPL3_REG_FEEDBACK_CONNECTION + voice_offset); in snd_opl3_drum_vol_set()
157 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_drum_vol_set()