Home
last modified time | relevance | path

Searched refs:opl3_reg (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/sound/drivers/opl3/
Dopl3_drums.c88 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()
[all …]
Dopl3_midi.c310 unsigned short opl3_reg; in snd_opl3_note_on() local
412 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_note_on()
414 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on()
419 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + in snd_opl3_note_on()
422 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on()
431 opl3_reg = OPL3_RIGHT | OPL3_REG_CONNECTION_SELECT; in snd_opl3_note_on()
432 opl3->command(opl3, opl3_reg, opl3->connection_reg); in snd_opl3_note_on()
438 opl3_reg = OPL3_RIGHT | OPL3_REG_CONNECTION_SELECT; in snd_opl3_note_on()
439 opl3->command(opl3, opl3_reg, opl3->connection_reg); in snd_opl3_note_on()
485 opl3_reg = reg_side | (OPL3_REG_AM_VIB + op_offset); in snd_opl3_note_on()
[all …]
Dopl3_synth.c360 unsigned short opl3_reg; in snd_opl3_reset() local
381 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + snd_opl3_regmap[voice_offset][0]); in snd_opl3_reset()
382 opl3->command(opl3, opl3_reg, OPL3_TOTAL_LEVEL_MASK); /* Operator 1 volume */ in snd_opl3_reset()
383 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + snd_opl3_regmap[voice_offset][1]); in snd_opl3_reset()
384 opl3->command(opl3, opl3_reg, OPL3_TOTAL_LEVEL_MASK); /* Operator 2 volume */ in snd_opl3_reset()
386 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_reset()
387 opl3->command(opl3, opl3_reg, 0x00); /* Note off */ in snd_opl3_reset()
405 unsigned short opl3_reg; in snd_opl3_play_note() local
427 opl3_reg = reg_side | (OPL3_REG_FNUM_LOW + voice_offset); in snd_opl3_play_note()
428 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_play_note()
[all …]