• Home
  • Raw
  • Download

Lines Matching refs:opl3_reg

88 	unsigned short opl3_reg;  in snd_opl3_drum_voice_set()  local
91 opl3_reg = OPL3_LEFT | (OPL3_REG_AM_VIB + op_offset); in snd_opl3_drum_voice_set()
92 opl3->command(opl3, opl3_reg, data->am_vib); in snd_opl3_drum_voice_set()
95 opl3_reg = OPL3_LEFT | (OPL3_REG_KSL_LEVEL + op_offset); in snd_opl3_drum_voice_set()
96 opl3->command(opl3, opl3_reg, data->ksl_level); in snd_opl3_drum_voice_set()
99 opl3_reg = OPL3_LEFT | (OPL3_REG_ATTACK_DECAY + op_offset); in snd_opl3_drum_voice_set()
100 opl3->command(opl3, opl3_reg, data->attack_decay); in snd_opl3_drum_voice_set()
103 opl3_reg = OPL3_LEFT | (OPL3_REG_SUSTAIN_RELEASE + op_offset); in snd_opl3_drum_voice_set()
104 opl3->command(opl3, opl3_reg, data->sustain_release); in snd_opl3_drum_voice_set()
107 opl3_reg = OPL3_LEFT | (OPL3_REG_FEEDBACK_CONNECTION + voice_offset); in snd_opl3_drum_voice_set()
108 opl3->command(opl3, opl3_reg, data->feedback_connection); in snd_opl3_drum_voice_set()
111 opl3_reg = OPL3_LEFT | (OPL3_REG_WAVE_SELECT + op_offset); in snd_opl3_drum_voice_set()
112 opl3->command(opl3, opl3_reg, data->wave_select); in snd_opl3_drum_voice_set()
122 unsigned short opl3_reg; in snd_opl3_drum_note_set() local
125 opl3_reg = OPL3_LEFT | (OPL3_REG_FNUM_LOW + voice_offset); in snd_opl3_drum_note_set()
126 opl3->command(opl3, opl3_reg, data->fnum); in snd_opl3_drum_note_set()
129 opl3_reg = OPL3_LEFT | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_drum_note_set()
130 opl3->command(opl3, opl3_reg, data->octave_f); in snd_opl3_drum_note_set()
143 unsigned short opl3_reg; in snd_opl3_drum_vol_set() local
148 opl3_reg = OPL3_LEFT | (OPL3_REG_KSL_LEVEL + op_offset); in snd_opl3_drum_vol_set()
149 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_drum_vol_set()
158 opl3_reg = OPL3_LEFT | (OPL3_REG_FEEDBACK_CONNECTION + voice_offset); in snd_opl3_drum_vol_set()
159 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_drum_vol_set()