Lines Matching refs:opl3_reg
72 unsigned short opl3_reg; in snd_opl3_drum_voice_set() local
75 opl3_reg = OPL3_LEFT | (OPL3_REG_AM_VIB + op_offset); in snd_opl3_drum_voice_set()
76 opl3->command(opl3, opl3_reg, data->am_vib); in snd_opl3_drum_voice_set()
79 opl3_reg = OPL3_LEFT | (OPL3_REG_KSL_LEVEL + op_offset); in snd_opl3_drum_voice_set()
80 opl3->command(opl3, opl3_reg, data->ksl_level); in snd_opl3_drum_voice_set()
83 opl3_reg = OPL3_LEFT | (OPL3_REG_ATTACK_DECAY + op_offset); in snd_opl3_drum_voice_set()
84 opl3->command(opl3, opl3_reg, data->attack_decay); in snd_opl3_drum_voice_set()
87 opl3_reg = OPL3_LEFT | (OPL3_REG_SUSTAIN_RELEASE + op_offset); in snd_opl3_drum_voice_set()
88 opl3->command(opl3, opl3_reg, data->sustain_release); in snd_opl3_drum_voice_set()
91 opl3_reg = OPL3_LEFT | (OPL3_REG_FEEDBACK_CONNECTION + voice_offset); in snd_opl3_drum_voice_set()
92 opl3->command(opl3, opl3_reg, data->feedback_connection); in snd_opl3_drum_voice_set()
95 opl3_reg = OPL3_LEFT | (OPL3_REG_WAVE_SELECT + op_offset); in snd_opl3_drum_voice_set()
96 opl3->command(opl3, opl3_reg, data->wave_select); in snd_opl3_drum_voice_set()
106 unsigned short opl3_reg; in snd_opl3_drum_note_set() local
109 opl3_reg = OPL3_LEFT | (OPL3_REG_FNUM_LOW + voice_offset); in snd_opl3_drum_note_set()
110 opl3->command(opl3, opl3_reg, data->fnum); in snd_opl3_drum_note_set()
113 opl3_reg = OPL3_LEFT | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_drum_note_set()
114 opl3->command(opl3, opl3_reg, data->octave_f); in snd_opl3_drum_note_set()
127 unsigned short opl3_reg; in snd_opl3_drum_vol_set() local
132 opl3_reg = OPL3_LEFT | (OPL3_REG_KSL_LEVEL + op_offset); in snd_opl3_drum_vol_set()
133 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_drum_vol_set()
142 opl3_reg = OPL3_LEFT | (OPL3_REG_FEEDBACK_CONNECTION + voice_offset); in snd_opl3_drum_vol_set()
143 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_drum_vol_set()